summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorryoon <ryoon>2015-12-11 23:28:10 +0000
committerryoon <ryoon>2015-12-11 23:28:10 +0000
commitfd54783d90b3b181d079b6af986532fd97175d8f (patch)
treeb02a785e7971c7b24af1f6d8eaf97cbf53ce8221 /pkgtools
parent312515e7ead2c7d632419d45837075ffc48b70bb (diff)
downloadpkgsrc-fd54783d90b3b181d079b6af986532fd97175d8f.tar.gz
Fix build under the environment that has no statvfs.
Fix my old mistake, logic inversion.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/libnbcompat/files/nbcompat/statvfs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/libnbcompat/files/nbcompat/statvfs.h b/pkgtools/libnbcompat/files/nbcompat/statvfs.h
index 67f195f9d0f..bdf175f423e 100644
--- a/pkgtools/libnbcompat/files/nbcompat/statvfs.h
+++ b/pkgtools/libnbcompat/files/nbcompat/statvfs.h
@@ -1,4 +1,4 @@
-/* $NetBSD: statvfs.h,v 1.5 2013/09/08 16:24:43 ryoon Exp $ */
+/* $NetBSD: statvfs.h,v 1.6 2015/12/11 23:28:10 ryoon Exp $ */
/*-
* Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -60,10 +60,10 @@
#define VFS_NAMELEN 32
#define VFS_MNAMELEN 1024
-#if defined(fsblkcnt_t)
+#if !defined(fsblkcnt_t)
typedef uint64_t fsblkcnt_t; /* fs block count (statvfs) */
#endif
-#if defined(fsfilcnt_t)
+#if !defined(fsfilcnt_t)
typedef uint64_t fsfilcnt_t; /* fs file count */
#endif