]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
enosys: include sys/syscall.h
authorThomas Weißschuh <thomas@t-8ch.de>
Fri, 19 May 2023 08:51:25 +0000 (10:51 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Fri, 19 May 2023 08:51:25 +0000 (10:51 +0200)
Otherwise there is no guarantee that all syscall numbers detected by
tools/all_syscalls are actually available to enosys.c.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
misc-utils/enosys.c

index 1aa673717c917b32f8d9c070cf7d4eff352ff82e..b51fe36872f976fd74b04f78169878e1361ff45f 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/seccomp.h>
 #include <linux/audit.h>
 #include <sys/prctl.h>
+#include <sys/syscall.h>
 
 #include "c.h"
 #include "exitcodes.h"