diff options
author | ryoon <ryoon@pkgsrc.org> | 2015-12-11 23:28:10 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2015-12-11 23:28:10 +0000 |
commit | fb9d2c573d6f0522db879aab0d52213111c60e9b (patch) | |
tree | b02a785e7971c7b24af1f6d8eaf97cbf53ce8221 /pkgtools/libnbcompat/files | |
parent | fdf5f8b37d40e33b3c70870bd70f13cc3d928337 (diff) | |
download | pkgsrc-fb9d2c573d6f0522db879aab0d52213111c60e9b.tar.gz |
Fix build under the environment that has no statvfs.
Fix my old mistake, logic inversion.
Diffstat (limited to 'pkgtools/libnbcompat/files')
-rw-r--r-- | pkgtools/libnbcompat/files/nbcompat/statvfs.h | 6 |
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 |