Added preprocessor check for ZT_NO_CAPABILITIES around header includes

This commit is contained in:
Joseph Henry 2018-10-26 11:59:55 -07:00
parent 72a724f075
commit c148a23df4

View File

@ -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>