about summary refs log tree commit diff
path: root/src/ipc/shmat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc/shmat.c')
-rw-r--r--src/ipc/shmat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc/shmat.c b/src/ipc/shmat.c
index 38db92f9..8c7407d1 100644
--- a/src/ipc/shmat.c
+++ b/src/ipc/shmat.c
@@ -2,7 +2,7 @@
 #include "syscall.h"
 #include "ipc.h"
 
-#ifdef SYS_shmat
+#ifndef SYS_ipc
 void *shmat(int id, const void *addr, int flag)
 {
 	return (void *)syscall(SYS_shmat, id, addr, flag);