mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-03 19:13:43 +02:00
Added preprocessor check for ZT_NO_CAPABILITIES around header includes
This commit is contained in:
parent
72a724f075
commit
c148a23df4
1 changed files with 2 additions and 0 deletions
2
one.cpp
2
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>
|
||||
|
|
Loading…
Add table
Reference in a new issue