summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Henry <josephjah@gmail.com>2018-10-26 11:59:55 -0700
committerJoseph Henry <josephjah@gmail.com>2018-10-26 11:59:55 -0700
commitc148a23df4c1ec0720a062af3c454f1c920d7bbc (patch)
treef9c55ac3a774bb9b3e8809f9cbcb131fa70a5087
parent72a724f07536cfea7bb9a299cf503143124bd4bd (diff)
downloadinfinitytier-c148a23df4c1ec0720a062af3c454f1c920d7bbc.tar.gz
infinitytier-c148a23df4c1ec0720a062af3c454f1c920d7bbc.zip
Added preprocessor check for ZT_NO_CAPABILITIES around header includes
-rw-r--r--one.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/one.cpp b/one.cpp
index abe8bb37..b48e4396 100644
--- a/one.cpp
+++ b/one.cpp
@@ -58,10 +58,12 @@
#include <sys/prctl.h>
#include <sys/syscall.h>
#include <sys/wait.h>
+#ifndef ZT_NO_CAPABILITIES
#include <linux/capability.h>
#include <linux/securebits.h>
#endif
#endif
+#endif
#include <string>
#include <stdexcept>