summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-06 15:24:31 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-06 15:24:31 +0000
commit8d9e1a19ce98858053635b6720101121924f56b9 (patch)
treebe8df3e2ad9f080a4bfae6049b4fe709ddbb0030 /perl.h
parentd056ab3ff0ffeec5723bde35aed46bd2e1b4bfc3 (diff)
downloadperl-8d9e1a19ce98858053635b6720101121924f56b9.tar.gz
allow IRIX 6.5 to build perl (from Helmut Jarausch
<jarausch@igpm.rwth-aachen.de>) p4raw-id: //depot/perl@4659
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index a30cde4a4c..7e0656ad40 100644
--- a/perl.h
+++ b/perl.h
@@ -3067,7 +3067,13 @@ typedef struct am_table_short AMTS;
# include <sys/statfs.h> /* for some statfs() */
#endif
#ifdef I_SYS_VFS
-# include <sys/vfs.h> /* for some statfs() */
+# ifdef __sgi
+# define sv IRIX_sv /* kludge: IRIX has an sv of its own */
+# endif
+# include <sys/vfs.h> /* for some statfs() */
+# ifdef __sgi
+# undef IRIX_sv
+# endif
#endif
#ifdef I_USTAT
# include <ustat.h> /* for ustat() */