From 5e9854f13448df01de1f9b3b3ae6a1abf1bc2739 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 5 Nov 2018 18:55:59 -0500 Subject: [PATCH] Remove backwards compatibility support for old FreeBSD All supported versions of FreeBSD provide sys/capsicum.h, because sys/capability.h conflicted with a draft POSIX.1e capability.h header provided by other systems. Remove the #ifdef case for older FreeBSD because the test didn't work - for more information see FreeBSD PR 228878 (https://bugs.freebsd.org/228878). --- _pycapsicum.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/_pycapsicum.c b/_pycapsicum.c index 1e08c23..aae3a13 100644 --- a/_pycapsicum.c +++ b/_pycapsicum.c @@ -32,11 +32,7 @@ #include #include "Python.h" -#if OSVERSION < 1020000 -#include "sys/capability.h" -#else #include "sys/capsicum.h" -#endif #include "sys/caprights.h" #include "structmember.h"