libutil: always include sys/syscall.h

linux always need this as well for capabilites.

fixes #1087

Change-Id: I57aebca5c9a381c392a87cdf4b144f1efe140d5f
This commit is contained in:
eldritch horrors
2025-12-30 13:03:19 +00:00
parent bad5a4dcc5
commit 570f5b8d1f
+2 -3
View File
@@ -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>