From: Guillem Jover Date: Sun, 12 Apr 2020 01:44:43 +0000 (+0200) Subject: [PATCH libaio 02/11] syscall: Fix ia64 definitions to match exactly the kernel X-Git-Tag: archive/raspbian/0.3.112-13+rpi1~15 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5bc66b612f0d5e9c574bbc3ac98f7169b4dc40ec;p=libaio.git [PATCH libaio 02/11] syscall: Fix ia64 definitions to match exactly the kernel Otherwise we get preprocessor warnings due to the redefinitions. Signed-off-by: Guillem Jover Gbp-Pq: Name 0002-syscall-Fix-ia64-definitions-to-match-exactly-the-ke.patch --- diff --git a/src/syscall-ia64.h b/src/syscall-ia64.h index a21e93b..765c423 100644 --- a/src/syscall-ia64.h +++ b/src/syscall-ia64.h @@ -1,5 +1,6 @@ -#define __NR_io_setup 1238 -#define __NR_io_destroy 1239 -#define __NR_io_getevents 1240 -#define __NR_io_submit 1241 -#define __NR_io_cancel 1242 +#define __NR_Linux 1024 +#define __NR_io_setup (__NR_Linux + 214) +#define __NR_io_destroy (__NR_Linux + 215) +#define __NR_io_getevents (__NR_Linux + 216) +#define __NR_io_submit (__NR_Linux + 217) +#define __NR_io_cancel (__NR_Linux + 218)