summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_filecheck/files
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-11-17 17:02:04 +0000
committerrillig <rillig@pkgsrc.org>2005-11-17 17:02:04 +0000
commitc4f8cd4a72ada336bf51afdd2cb6a6b80228a20d (patch)
treed872e015b3b144011dcae0606699269e3939875f /pkgtools/pkg_filecheck/files
parent0e41c329e55767ce2a01c3c2fea66a35b261d133 (diff)
downloadpkgsrc-c4f8cd4a72ada336bf51afdd2cb6a6b80228a20d.tar.gz
Added a dependency on libnbcompat to allow building on Solaris easier.
(See PR 23746.) It still needs work in the area of Berkeley DB selection. Bumped PKGREVISION.
Diffstat (limited to 'pkgtools/pkg_filecheck/files')
-rw-r--r--pkgtools/pkg_filecheck/files/pkg_filecheck.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgtools/pkg_filecheck/files/pkg_filecheck.c b/pkgtools/pkg_filecheck/files/pkg_filecheck.c
index b372c625d69..0a5923f2ce2 100644
--- a/pkgtools/pkg_filecheck/files/pkg_filecheck.c
+++ b/pkgtools/pkg_filecheck/files/pkg_filecheck.c
@@ -1,5 +1,5 @@
/*
- $NetBSD: pkg_filecheck.c,v 1.1.1.1 2003/07/13 16:15:34 wiz Exp $
+ $NetBSD: pkg_filecheck.c,v 1.2 2005/11/17 17:02:04 rillig Exp $
pkg_filecheck.c -- check for files not owned by any package
Copyright (C) 2001 Dieter Baron
@@ -30,12 +30,16 @@
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <nbcompat.h>
+
#include <sys/types.h>
#include <sys/stat.h>
#include <db.h>
#include <errno.h>
#include <fcntl.h>
+#ifdef HAVE_FTS_H
#include <fts.h>
+#endif
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>