08d1bcf458
- Fix build on 10.1, don't try to use missing sys/capsicum.h Approved by: portmgr blanket
14 lines
292 B
C++
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>
|