pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files/lib Aren't we forgetting so...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8e1823399427
branches: trunk
changeset: 502624:8e1823399427
user: tv <tv%pkgsrc.org@localhost>
date: Mon Nov 07 18:53:53 2005 +0000
description:
Aren't we forgetting something here?
(Insert config.h, nbcompat.h, and bracket the other includes with
#if HAVE_<file>.)
diffstat:
pkgtools/pkg_install/files/lib/dewey.c | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
diffs (39 lines):
diff -r 2bf692c16c86 -r 8e1823399427 pkgtools/pkg_install/files/lib/dewey.c
--- a/pkgtools/pkg_install/files/lib/dewey.c Mon Nov 07 18:38:36 2005 +0000
+++ b/pkgtools/pkg_install/files/lib/dewey.c Mon Nov 07 18:53:53 2005 +0000
@@ -1,4 +1,9 @@
-/* $NetBSD: dewey.c,v 1.1 2005/11/05 13:20:09 wiz Exp $ */
+/* $NetBSD: dewey.c,v 1.2 2005/11/07 18:53:53 tv Exp $ */
+
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+#include <nbcompat.h>
/*
* FreeBSD install - a package for the installation and maintainance
@@ -20,12 +25,24 @@
*
*/
+#if HAVE_ASSERT_H
#include <assert.h>
+#endif
+#if HAVE_CTYPE_H
#include <ctype.h>
+#endif
+#if HAVE_ERR_H
#include <err.h>
+#endif
+#if HAVE_FNMATCH_H
#include <fnmatch.h>
+#endif
+#if HAVE_INTTYPES_H
#include <inttypes.h>
+#endif
+#if HAVE_STRING_H
#include <string.h>
+#endif
#include "defs.h"
#include "dewey.h"
Home |
Main Index |
Thread Index |
Old Index