summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/IPC/SysV/SysV.xs3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/IPC/SysV/SysV.xs b/ext/IPC/SysV/SysV.xs
index 7d682a1346..b97e9e5893 100644
--- a/ext/IPC/SysV/SysV.xs
+++ b/ext/IPC/SysV/SysV.xs
@@ -15,6 +15,9 @@
#include <sys/sem.h>
#endif
#ifdef HAS_SHM
+#ifdef PERL_SCO5
+#include <sys/sysmacros.h>
+#endif
#include <sys/shm.h>
# ifndef HAS_SHMAT_PROTOTYPE
extern Shmat_t shmat _((int, char *, int));