2005-09-06 10:10:57 +02:00
|
|
|
$NetBSD: patch-ah,v 1.2 2005/09/06 08:10:58 abs Exp $
|
2004-05-26 11:57:20 +02:00
|
|
|
|
|
|
|
--- OS/os.h-NetBSD.orig 2002-04-04 22:56:14.000000000 +1000
|
|
|
|
+++ OS/os.h-NetBSD
|
|
|
|
@@ -10,4 +10,15 @@ typedef struct flock flock_t;
|
|
|
|
#define os_strsignal strsignal
|
|
|
|
#define OS_STRSIGNAL
|
|
|
|
|
|
|
|
+#include <sys/param.h>
|
|
|
|
+
|
2005-09-06 10:10:57 +02:00
|
|
|
+#if __NetBSD_Version__ >= 299000900
|
2004-05-26 11:57:20 +02:00
|
|
|
+/* NetBSD 2.0D switched to statvfs() */
|
|
|
|
+# include <sys/statvfs.h>
|
|
|
|
+# define statfs statvfs
|
|
|
|
+#else
|
|
|
|
+/* before NetBSD 2.0D */
|
|
|
|
+# include <sys/mount.h>
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
/* End */
|