summaryrefslogtreecommitdiff
path: root/ext/IPC
diff options
context:
space:
mode:
Diffstat (limited to 'ext/IPC')
-rw-r--r--ext/IPC/SysV/SysV.xs7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/IPC/SysV/SysV.xs b/ext/IPC/SysV/SysV.xs
index 8b30b929a2..7d682a1346 100644
--- a/ext/IPC/SysV/SysV.xs
+++ b/ext/IPC/SysV/SysV.xs
@@ -22,6 +22,13 @@
#endif
#endif
+/* Required in BSDI to get PAGE_SIZE definition for SHMLBA.
+ * Ugly. More beautiful solutions welcome.
+ * Shouting at BSDI sounds quite beautiful. */
+#ifdef __bsdi__
+# include <vm/vm_param.h>
+#endif
+
#ifndef newCONSTSUB
static void
newCONSTSUB(stash,name,sv)