From 80739d5835e2a4685b632b6bcdff6b71a94c0770 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 16 Aug 2004 17:24:42 +0000 Subject: Update pkgtools/libnbcompat to 20040814. Changes from version 20040813 include: * Adding a regex(3) implementation for those platforms that don't have one, e.g. IRIX 5.3. * Allow nbcompat.h to be included multiple times in case it's needed to override values of set by config.h in bootstrap packages. This should fix problems with building pkg_install and pax on platforms that have /usr/include/glob.h. * Remove namespace.h, which should be a no-op since we're building a userland library separate from the NetBSD sources. * Remove HAVE_CONFIG_H checks from sources since we're always going to have and and we're always going to be including it. * Rename all inclusion guards in nbcompat/*.h to be _NBCOMPAT_*_H_ so that it won't get triggered by any settings in system headers. This has been tested on: FreeBSD-4.8/i386 Debian Linux 3.0 (woody) IRIX 6.5 MacOS X 10.2.8 MacOS X 10.3.5 NetBSD-1.6.2/i386 NetBSD-2.0_BETA/i386 Red Hat Linux 7.3 Solaris 7/sparc Solaris 8/sparc Solaris 9/sparc --- pkgtools/libnbcompat/files/statvfs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'pkgtools/libnbcompat/files/statvfs.c') diff --git a/pkgtools/libnbcompat/files/statvfs.c b/pkgtools/libnbcompat/files/statvfs.c index 7dcca106825..76fdb9833a0 100644 --- a/pkgtools/libnbcompat/files/statvfs.c +++ b/pkgtools/libnbcompat/files/statvfs.c @@ -1,4 +1,4 @@ -/* $NetBSD: statvfs.c,v 1.1 2004/08/06 16:55:09 jlam Exp $ */ +/* $NetBSD: statvfs.c,v 1.2 2004/08/16 17:24:56 jlam Exp $ */ /*- * Copyright (c) 2004 The NetBSD Foundation, Inc. @@ -36,9 +36,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#if HAVE_CONFIG_H #include "nbcompat/nbconfig.h" -#endif #if HAVE_STRING_H #include /* memcpy() */ -- cgit v1.2.3