diff options
author | Joseph Henry <josephjah@gmail.com> | 2018-10-26 11:59:55 -0700 |
---|---|---|
committer | Joseph Henry <josephjah@gmail.com> | 2018-10-26 11:59:55 -0700 |
commit | c148a23df4c1ec0720a062af3c454f1c920d7bbc (patch) | |
tree | f9c55ac3a774bb9b3e8809f9cbcb131fa70a5087 | |
parent | 72a724f07536cfea7bb9a299cf503143124bd4bd (diff) | |
download | infinitytier-c148a23df4c1ec0720a062af3c454f1c920d7bbc.tar.gz infinitytier-c148a23df4c1ec0720a062af3c454f1c920d7bbc.zip |
Added preprocessor check for ZT_NO_CAPABILITIES around header includes
-rw-r--r-- | one.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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> |