about summary refs log tree commit diff
path: root/src/ipc/msgrcv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc/msgrcv.c')
-rw-r--r--src/ipc/msgrcv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc/msgrcv.c b/src/ipc/msgrcv.c
index ee071766..13c282ee 100644
--- a/src/ipc/msgrcv.c
+++ b/src/ipc/msgrcv.c
@@ -7,7 +7,7 @@ ssize_t msgrcv(int q, void *m, size_t len, long type, int flag)
 {
 	ssize_t r;
 	CANCELPT_BEGIN;
-#ifdef __NR_msgrcv
+#ifdef SYS_msgrcv
 	r = syscall(SYS_msgrcv, q, m, len, type, flag);
 #else
 	r = syscall(SYS_ipc, IPCOP_msgrcv, q, len, flag, ((long[]){ (long)m, type }));