diff options
Diffstat (limited to 'pkgtools/mtree/files/crc.c')
-rw-r--r-- | pkgtools/mtree/files/crc.c | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/pkgtools/mtree/files/crc.c b/pkgtools/mtree/files/crc.c index c9cf2407faf..e75cdb6756e 100644 --- a/pkgtools/mtree/files/crc.c +++ b/pkgtools/mtree/files/crc.c @@ -1,4 +1,4 @@ -/* $NetBSD: crc.c,v 1.1.1.1 2003/03/31 08:51:10 grant Exp $ */ +/* $NetBSD: crc.c,v 1.2 2003/09/05 04:38:47 grant Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -15,11 +15,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * @@ -36,25 +32,34 @@ * SUCH DAMAGE. */ -#include "nbcompat.h" - -#ifdef HAVE_SYS_CDEFS_H +#if HAVE_CONFIG_H +#include "config.h" +#endif +#include <nbcompat.h> +#if HAVE_SYS_CDEFS_H #include <sys/cdefs.h> #endif - #if defined(__RCSID) && !defined(lint) #if 0 static char sccsid[] = "@(#)crc.c 8.1 (Berkeley) 6/17/93"; #else -__RCSID("$NetBSD: crc.c,v 1.1.1.1 2003/03/31 08:51:10 grant Exp $"); +__RCSID("$NetBSD: crc.c,v 1.2 2003/09/05 04:38:47 grant Exp $"); #endif #endif /* not lint */ +#if HAVE_SYS_TYPES_H #include <sys/types.h> +#endif +#if HAVE_STDIO_H #include <stdio.h> +#endif +#if HAVE_TIME_H #include <time.h> +#endif +#if HAVE_UNISTD_H #include <unistd.h> +#endif #include "extern.h" |