blob: ad4a1ffa2385a5cf6cc150774b821d49d0141c25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ac,v 1.2 2007/12/02 12:55:09 wiz Exp $
--- src/lib/libast/port/mnt.c.orig 2002-09-26 16:33:59.000000000 +0000
+++ src/lib/libast/port/mnt.c
@@ -146,6 +146,11 @@ set(register Header_t* hp, const char* f
#include <sys/param.h> /* expect some macro redefinitions here */
#include <sys/mount.h>
+#if defined(__NetBSD__) && (__NetBSD_Version__ > 299000900)
+#define statfs statvfs
+#define f_flags f_flag
+#endif
+
typedef struct
{
Header_t hdr;
|