summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Green <Paul.Green@stratus.com>2002-01-05 16:30:56 -0500
committerAbhijit Menon-Sen <ams@wiw.org>2002-01-06 01:56:59 +0000
commit36df99d62e5fb6553737ac83b8d35e75836213ae (patch)
tree2c5a55108217f8ae9993260cda6da67cbc197d82
parent4915ea7517996db0baece3f93a36975a09cc77b8 (diff)
downloadperl-36df99d62e5fb6553737ac83b8d35e75836213ae.tar.gz
Correct several Stratus VOS build issues
Message-Id: <95AE3CDB3543D511883A0020485B38B90235348A@exna3.stratus.com> p4raw-id: //depot/perl@14100
-rw-r--r--ext/Time/HiRes/HiRes.xs5
-rw-r--r--hints/vos.sh2
-rw-r--r--perl.h2
-rw-r--r--vos/vosish.h2
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 <sys/time.h>
#endif
+#ifdef HAS_SELECT
+# ifdef I_SYS_SELECT
+# include <sys/select.h>
+# 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, ...);