Author: Gianfranco Costamagna
Origin: https://github.com/falcosecurity/libs/issues/1203#issuecomment-1706496083
diff --git a/driver/syscall_compat.h b/driver/syscall_compat.h
index 485a875..951aab1 100644
--- a/driver/syscall_compat.h
+++ b/driver/syscall_compat.h
@@ -9,7 +9,9 @@
 #elif defined(__powerpc__)
 #include "syscall_compat_ppc64le.h"
 #elif defined(__riscv)
 #include "syscall_compat_riscv64.h"
 #elif defined(__loongarch__)
 #include "syscall_compat_loongarch64.h"
+#else
+#include <asm/unistd.h>
 #endif /* __x86_64__ */
