summaryrefslogtreecommitdiff
path: root/lang/perl5/patches/patch-ac
blob: 048ef97e291e757c6ad8480cb104bd228a9945e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ac,v 1.3 1998/08/07 11:09:23 agc Exp $

--- perl.h.BAK	Wed Nov 19 23:07:32 1997
+++ perl.h	Wed Nov 19 23:08:54 1997
@@ -223,6 +223,15 @@
 #   include <sys/param.h>
 #endif
 
+/* needed for IAMSUID case for 4.4BSD systems
+ * XXX there should probably be a Configure variable
+ */
+
+#ifdef I_SYS_PARAM
+#if (defined (BSD) && (BSD >= 199306))
+#   include <sys/mount.h>
+#endif /* !BSD */
+#endif /* !I_SYS_PARAM */
 
 /* Use all the "standard" definitions? */
 #if defined(STANDARD_C) && defined(I_STDLIB)