Browse Source

Add a missing #include

Eric Andersen 22 years ago
parent
commit
9277ed9a95
1 changed files with 5 additions and 0 deletions
  1. 5 0
      libc/misc/sysvipc/ipc.h

+ 5 - 0
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 */