summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
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"