summaryrefslogtreecommitdiff
path: root/ext/IPC
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-02-15 13:04:50 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-02-15 13:04:50 +0000
commit576a648b82a08e8e4d3dfe36a4b545294bf4939d (patch)
tree465e0d4a7c32bdc78866c99586b6d9b68bf1c632 /ext/IPC
parent1321bce77b0c55ff9feea54b2e5d53813149010a (diff)
downloadperl-576a648b82a08e8e4d3dfe36a4b545294bf4939d.tar.gz
OpenBSD sparc SHMLBA.
p4raw-id: //depot/cfgperl@2945
Diffstat (limited to 'ext/IPC')
-rw-r--r--ext/IPC/SysV/SysV.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/IPC/SysV/SysV.xs b/ext/IPC/SysV/SysV.xs
index 06059186c6..f13e01a958 100644
--- a/ext/IPC/SysV/SysV.xs
+++ b/ext/IPC/SysV/SysV.xs
@@ -22,7 +22,7 @@
# ifndef HAS_SHMAT_PROTOTYPE
extern Shmat_t shmat _((int, char *, int));
# endif
-# if defined(__NetBSD__) && defined(__sparc__)
+# if defined(__sparc__) && (defined(__NetBSD__) || defined(__OpenBSD__))
# undef SHMLBA /* not static: determined at boot time */
# define SHMLBA getpagesize()
# endif