allow IRIX 6.5 to build perl (from Helmut Jarausch
authorGurusamy Sarathy <gsar@cpan.org>
Mon, 6 Dec 1999 15:24:31 +0000 (15:24 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Mon, 6 Dec 1999 15:24:31 +0000 (15:24 +0000)
<jarausch@igpm.rwth-aachen.de>)

p4raw-id: //depot/perl@4659

perl.h

diff --git a/perl.h b/perl.h
index a30cde4..7e0656a 100644 (file)
--- 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() */