From: Paul Green Date: Sat, 5 Jan 2002 21:30:56 +0000 (-0500) Subject: Correct several Stratus VOS build issues X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=36df99d62e5fb6553737ac83b8d35e75836213ae;p=p5sagit%2Fp5-mst-13.2.git Correct several Stratus VOS build issues Message-Id: <95AE3CDB3543D511883A0020485B38B90235348A@exna3.stratus.com> p4raw-id: //depot/perl@14100 --- diff --git a/ext/Time/HiRes/HiRes.xs b/ext/Time/HiRes/HiRes.xs index 4981741..4f85f3b 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 7c3053f..52523be 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 4d3bfab..466d7c1 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 8698213..838bcdf 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, ...);