libaio/0003-libaio-fix-for-x32.patch

22 lines
500 B
Diff
Raw Normal View History

2020-07-20 14:33:35 +08:00
diff --git a/src/syscall-x86_64.h b/src/syscall-x86_64.h
index 0eccef3..fd71da9 100644
--- a/src/syscall-x86_64.h
+++ b/src/syscall-x86_64.h
@@ -1,6 +1,16 @@
2019-09-30 10:54:47 -04:00
+#ifndef __NR_io_setup
#define __NR_io_setup 206
+#endif
+#ifndef __NR_io_destroy
#define __NR_io_destroy 207
+#endif
+#ifndef __NR_io_getevents
#define __NR_io_getevents 208
+#endif
+#ifndef __NR_io_submit
#define __NR_io_submit 209
+#endif
+#ifndef __NR_io_cancel
#define __NR_io_cancel 210
+#endif
2020-07-20 14:33:35 +08:00
#define __NR_io_pgetevents 333