summaryrefslogtreecommitdiff
path: root/devel/p5-Proc-ProcessTable/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Proc-ProcessTable/patches/patch-aa')
-rw-r--r--devel/p5-Proc-ProcessTable/patches/patch-aa16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/p5-Proc-ProcessTable/patches/patch-aa b/devel/p5-Proc-ProcessTable/patches/patch-aa
new file mode 100644
index 00000000000..023615ba5e4
--- /dev/null
+++ b/devel/p5-Proc-ProcessTable/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1 2007/05/15 13:19:14 obache Exp $
+
+--- os/NetBSD.h.orig 2003-05-19 16:35:17.000000000 +0000
++++ os/NetBSD.h
+@@ -1,6 +1,11 @@
+ #include <sys/types.h>
+ #include <sys/param.h>
++#if defined(__NetBSD__) && __NetBSD_Version__ > 299000900
++#include <sys/statvfs.h>
++#define statfs statvfs
++#else
+ #include <sys/mount.h>
++#endif
+ #include <sys/stat.h>
+ #include <ctype.h>
+ #include <dirent.h>