diff options
-rw-r--r-- | ext/IPC/SysV/SysV.xs | 2 | ||||
-rw-r--r-- | hints/isc.sh | 3 | ||||
-rw-r--r-- | hints/isc_2.sh | 3 |
3 files changed, 7 insertions, 1 deletions
diff --git a/ext/IPC/SysV/SysV.xs b/ext/IPC/SysV/SysV.xs index 818c751ff2..0fbf783347 100644 --- a/ext/IPC/SysV/SysV.xs +++ b/ext/IPC/SysV/SysV.xs @@ -15,7 +15,7 @@ #include <sys/sem.h> #endif #ifdef HAS_SHM -#ifdef PERL_SCO5 +#if defined(PERL_SCO5) || defined(PERL_ISC) #include <sys/sysmacros.h> #endif #include <sys/shm.h> diff --git a/hints/isc.sh b/hints/isc.sh index 43b70fde36..cdfe91c605 100644 --- a/hints/isc.sh +++ b/hints/isc.sh @@ -34,6 +34,9 @@ ccflags="$ccflags -DBOGUS_GETNAME_RETURN=256" # rename(2) can't rename long filenames d_rename=undef +# for ext/IPC/SysV/SysV.xs +ccflags="$ccflags -DPERL_ISC" + # You can also include -D_SYSV3 to pick up "traditionally visible" # symbols hidden by name-space pollution rules. This raises some # compilation "redefinition" warnings, but they appear harmless. diff --git a/hints/isc_2.sh b/hints/isc_2.sh index c73908cbc6..d8ca7dc63a 100644 --- a/hints/isc_2.sh +++ b/hints/isc_2.sh @@ -20,3 +20,6 @@ esac # Compensate for conflicts in <net/errno.h> doio_cflags='ccflags="$ccflags -DENOTSOCK=103"' pp_sys_cflags='ccflags="$ccflags -DENOTSOCK=103"' + +# for ext/IPC/SysV/SysV.xs +ccflags="$ccflags -DPERL_ISC" |