From 570f5b8d1f7ad4e3146dd307a223e8a6993ddcc5 Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Mon, 29 Dec 2025 18:34:39 +0100 Subject: [PATCH] libutil: always include sys/syscall.h linux always need this as well for capabilites. fixes #1087 Change-Id: I57aebca5c9a381c392a87cdf4b144f1efe140d5f --- lix/libutil/processes.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lix/libutil/processes.cc b/lix/libutil/processes.cc index 34de355de..78e574c24 100644 --- a/lix/libutil/processes.cc +++ b/lix/libutil/processes.cc @@ -23,9 +23,8 @@ #include #include -#ifdef __APPLE__ -# include -#endif +// both apple and linux must use raw syscalls for some things that are not exposed otherwise +#include #ifdef __linux__ # include