summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2015-12-11 23:28:10 +0000
committerryoon <ryoon@pkgsrc.org>2015-12-11 23:28:10 +0000
commitfb9d2c573d6f0522db879aab0d52213111c60e9b (patch)
treeb02a785e7971c7b24af1f6d8eaf97cbf53ce8221
parentfdf5f8b37d40e33b3c70870bd70f13cc3d928337 (diff)
downloadpkgsrc-fb9d2c573d6f0522db879aab0d52213111c60e9b.tar.gz
Fix build under the environment that has no statvfs.
Fix my old mistake, logic inversion.
-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