summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorOlli Savia <unknown>2003-09-24 15:42:41 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-09-24 17:30:07 +0000
commit9cffb1113116ebdeea2d588063f221f44cc71108 (patch)
treed1507f8dbb614c70bdd8acda004b5a8c0701271b /perl.h
parentcef7f6212e02689c2aa27d0d7dc8e6afd7f665e8 (diff)
downloadperl-9cffb1113116ebdeea2d588063f221f44cc71108.tar.gz
[perl #24032] Perl 5.8.1-RC5 build problems on LynxOS
From: Olli Savia (via RT) <perlbug-followup@perl.org> Message-ID: <rt-24032-65280.10.6144413163834@rt.perl.org> p4raw-id: //depot/perl@21360
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index ab6477c527..8811bbb167 100644
--- a/perl.h
+++ b/perl.h
@@ -3247,6 +3247,14 @@ END_EXTERN_C
/*****************************************************************************/
/* XXX This needs to be revisited, since BEGIN makes yacc re-enter... */
+/* LynxOS defines these in scsi.h which is included via ioctl.h */
+#ifdef FORMAT
+#undef FORMAT
+#endif
+#ifdef SPACE
+#undef SPACE
+#endif
+
#include "perly.h"
#define LEX_NOTPARSING 11 /* borrowed from toke.c */
@@ -4132,6 +4140,10 @@ typedef struct am_table_short AMTS;
# include <fcntl.h>
#endif
+#ifdef __Lynx__
+# include <fcntl.h>
+#endif
+
#ifdef I_SYS_FILE
# include <sys/file.h>
#endif