void-packages/srcpkgs/sydbox/patches/missing-include.patch

12 lines
260 B
Diff

--- a/src/syscall-filter.c
+++ b/src/syscall-filter.c
@@ -172,7 +172,7 @@
SCMP_SYS(epoll_ctl),
SCMP_SYS(epoll_ctl_old),
SCMP_SYS(epoll_pwait),
-#ifdef __SNR_epoll_pwait2
+#ifdef __NR_epoll_pwait2
SCMP_SYS(epoll_pwait2),
#endif
SCMP_SYS(epoll_wait),