summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-05-12 00:49:32 +0000
committerEric Andersen <andersen@codepoet.org>2002-05-12 00:49:32 +0000
commit9277ed9a95f73c3eaef4b41236e222cf23609a17 (patch)
tree11f00d2ec020eeb58984dd2d13c493abf5cd63d4 /libc/misc
parente0827d1d4c05d329a497cd0a615d17826ac3641b (diff)
Add a missing #include
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/sysvipc/ipc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/misc/sysvipc/ipc.h b/libc/misc/sysvipc/ipc.h
index 19e6bd106..18011410f 100644
--- a/libc/misc/sysvipc/ipc.h
+++ b/libc/misc/sysvipc/ipc.h
@@ -1,5 +1,8 @@
#ifndef IPC_H
#define IPC_H
+#include <syscall.h>
+
+#ifdef __NR_ipc
/* The actual system call: all functions are multiplexed by this. */
extern int __ipc __P((int __call, int __first, int __second,
@@ -19,4 +22,6 @@ extern int __ipc __P((int __call, int __first, int __second,
#define IPCOP_shmget 23
#define IPCOP_shmctl 24
+#endif
+
#endif /* IPC_H */