소스 검색

Added preprocessor check for ZT_NO_CAPABILITIES around header includes

Joseph Henry 7 년 전
부모
커밋
c148a23df4
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      one.cpp

+ 2 - 0
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>