From 36df99d62e5fb6553737ac83b8d35e75836213ae Mon Sep 17 00:00:00 2001 From: Paul Green Date: Sat, 5 Jan 2002 16:30:56 -0500 Subject: Correct several Stratus VOS build issues Message-Id: <95AE3CDB3543D511883A0020485B38B90235348A@exna3.stratus.com> p4raw-id: //depot/perl@14100 --- ext/Time/HiRes/HiRes.xs | 5 +++++ hints/vos.sh | 2 +- perl.h | 2 +- vos/vosish.h | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ext/Time/HiRes/HiRes.xs b/ext/Time/HiRes/HiRes.xs index 4981741430..4f85f3b3f2 100644 --- a/ext/Time/HiRes/HiRes.xs +++ b/ext/Time/HiRes/HiRes.xs @@ -9,6 +9,11 @@ extern "C" { #else #include #endif +#ifdef HAS_SELECT +# ifdef I_SYS_SELECT +# include +# endif +#endif #ifdef __cplusplus } #endif diff --git a/hints/vos.sh b/hints/vos.sh index 7c3053f177..52523be46e 100644 --- a/hints/vos.sh +++ b/hints/vos.sh @@ -10,7 +10,7 @@ # C compiler and default options. cc=gcc -ccflags="-D_SVID_SOURCE -D_POSIX_C_SOURCE=199509L -I." +ccflags="-D_SVID_SOURCE -D_POSIX_C_SOURCE=199509L" # Make command. make="/system/gnu_library/bin/gmake" diff --git a/perl.h b/perl.h index 4d3bfab553..466d7c1f0e 100644 --- a/perl.h +++ b/perl.h @@ -1789,7 +1789,7 @@ typedef struct clone_params CLONE_PARAMS; #endif #if defined(__VOS__) -# include "vos/vosish.h" +# include "./vos/vosish.h" # define ISHISH "vos" #endif diff --git a/vos/vosish.h b/vos/vosish.h index 86982139fd..838bcdf7df 100644 --- a/vos/vosish.h +++ b/vos/vosish.h @@ -1,4 +1,4 @@ -#include "unixish.h" +#include "../unixish.h" /* The following declaration is an avoidance for posix-950. */ extern int ioctl (int fd, int request, ...); -- cgit v1.2.1