opnsense-ports/devel/libgrading/files/patch-src_posix.cpp
Franco Fichtner 4a1eb14698 */*: sync with upstream
Taken from: FreeBSD
2016-10-21 07:32:22 +02:00

14 lines
292 B
C++

--- src/posix.cpp.orig 2016-09-19 18:47:05 UTC
+++ src/posix.cpp
@@ -186,6 +186,11 @@ TestResult grading::ForkTest(TestClosure
#ifdef __FreeBSD__
+#include <sys/param.h>
+#endif
+
+#if defined(__FreeBSD__) && __FreeBSD_version >= 1001511
+
#include <sys/capsicum.h>
#include <err.h>