summaryrefslogtreecommitdiff
path: root/ext/IPC
diff options
context:
space:
mode:
authorSpider Boardman <spider@orb.nashua.nh.us>1999-02-10 18:33:31 -0500
committerJarkko Hietaniemi <jhi@iki.fi>1999-02-15 13:09:58 +0000
commitaec308ece910998e159036ec2a891cbba90806c9 (patch)
treee2afea3a92e6614e1bbe0448d89fcdf5d1ee400a /ext/IPC
parent576a648b82a08e8e4d3dfe36a4b545294bf4939d (diff)
downloadperl-aec308ece910998e159036ec2a891cbba90806c9.tar.gz
Import Ultrix update, change #2864,
To: perlbug@perl.com Subject: Not OK: perl 5.00503 +MAINT_TRIAL_5 on RISC-ultrix 4.4 (UNINSTALLED) Message-Id: <9902110433.AA12816@abyss.zk3.dec.com> p4raw-link: @2864 on //depot/maint-5.005/perl: b47ccd61abe27ff67b6495fce49fc0fe9fa4cc76 p4raw-id: //depot/cfgperl@2946
Diffstat (limited to 'ext/IPC')
-rw-r--r--ext/IPC/SysV/SysV.xs10
1 files changed, 7 insertions, 3 deletions
diff --git a/ext/IPC/SysV/SysV.xs b/ext/IPC/SysV/SysV.xs
index f13e01a958..0aaf0527a1 100644
--- a/ext/IPC/SysV/SysV.xs
+++ b/ext/IPC/SysV/SysV.xs
@@ -7,13 +7,12 @@
# include <asm/page.h>
#endif
#if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
+#ifndef HAS_SEM
# include <sys/ipc.h>
+#endif
# ifdef HAS_MSG
# include <sys/msg.h>
# endif
-# ifdef HAS_SEM
-# include <sys/sem.h>
-# endif
# ifdef HAS_SHM
# if defined(PERL_SCO) || defined(PERL_ISC)
# include <sys/sysmacros.h> /* SHMLBA */
@@ -29,6 +28,11 @@
# endif
#endif
+/* Required to get 'struct pte' for SHMLBA on ULTRIX. */
+#if defined(__ultrix) || defined(__ultrix__) || defined(ultrix)
+#include <machine/pte.h>
+#endif
+
/* Required in BSDI to get PAGE_SIZE definition for SHMLBA.
* Ugly. More beautiful solutions welcome.
* Shouting at BSDI sounds quite beautiful. */