pkgsrc/devel/p5-Proc-ProcessTable/patches/patch-aa
2007-05-15 13:19:13 +00:00

16 lines
408 B
Text

$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>