libutil: always include sys/syscall.h
linux always need this as well for capabilites. fixes #1087 Change-Id: I57aebca5c9a381c392a87cdf4b144f1efe140d5f
This commit is contained in:
@@ -23,9 +23,8 @@
|
||||
#include <unistd.h>
|
||||
#include <utility>
|
||||
|
||||
#ifdef __APPLE__
|
||||
# include <sys/syscall.h>
|
||||
#endif
|
||||
// both apple and linux must use raw syscalls for some things that are not exposed otherwise
|
||||
#include <sys/syscall.h>
|
||||
|
||||
#ifdef __linux__
|
||||
# include <linux/capability.h>
|
||||
|
||||
Reference in New Issue
Block a user