From: Gurusamy Sarathy <gsar@cpan.org>
Date: Mon, 6 Dec 1999 15:24:31 +0000 (+0000)
Subject: allow IRIX 6.5 to build perl (from Helmut Jarausch
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8d9e1a19ce98858053635b6720101121924f56b9;p=p5sagit%2Fp5-mst-13.2.git

allow IRIX 6.5 to build perl (from Helmut Jarausch
<jarausch@igpm.rwth-aachen.de>)

p4raw-id: //depot/perl@4659
---

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