File: fix-build-32bit.patch

package info (click to toggle)
falcosecurity-libs 0.20.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,732 kB
  • sloc: ansic: 532,812; cpp: 100,792; python: 1,490; sh: 532; makefile: 195
file content (16 lines) | stat: -rw-r--r-- 535 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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__ */