summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-03-15 10:46:08 +0000
committerjoerg <joerg@pkgsrc.org>2008-03-15 10:46:08 +0000
commit47338958a04f6ecec20a674ea904e2692077d357 (patch)
tree5cee5f46a7ddc5acabfd080d06f1844de0cdfc3f /pkgtools/pkg_install
parent4c309e8a92ff95a4606c1c52fa9120586ba74514 (diff)
downloadpkgsrc-47338958a04f6ecec20a674ea904e2692077d357.tar.gz
Needs unistd.h.
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r--pkgtools/pkg_install/files/admin/audit.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/files/admin/audit.c b/pkgtools/pkg_install/files/admin/audit.c
index 8a83924b3f8..0d70fb6c53c 100644
--- a/pkgtools/pkg_install/files/admin/audit.c
+++ b/pkgtools/pkg_install/files/admin/audit.c
@@ -1,4 +1,4 @@
-/* $NetBSD: audit.c,v 1.1 2008/03/13 16:35:30 joerg Exp $ */
+/* $NetBSD: audit.c,v 1.2 2008/03/15 10:46:08 joerg Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
@@ -8,7 +8,7 @@
#include <sys/cdefs.h>
#endif
#ifndef lint
-__RCSID("$NetBSD: audit.c,v 1.1 2008/03/13 16:35:30 joerg Exp $");
+__RCSID("$NetBSD: audit.c,v 1.2 2008/03/15 10:46:08 joerg Exp $");
#endif
/*-
@@ -64,6 +64,9 @@ __RCSID("$NetBSD: audit.c,v 1.1 2008/03/13 16:35:30 joerg Exp $");
#if HAVE_STRING_H
#include <string.h>
#endif
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#include "admin.h"
#include "lib.h"