Files
pkgsrc-ng/devel/p5-Proc-ProcessTable/patches/patch-aa
2013-09-26 17:14:40 +02:00

17 lines
408 B
Plaintext

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