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/admin Needs unistd.h.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8977ac15469f
branches:  trunk
changeset: 539859:8977ac15469f
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Mar 15 10:46:08 2008 +0000

description:
Needs unistd.h.

diffstat:

 pkgtools/pkg_install/files/admin/audit.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r b88b9869c37d -r 8977ac15469f pkgtools/pkg_install/files/admin/audit.c
--- a/pkgtools/pkg_install/files/admin/audit.c  Sat Mar 15 10:45:16 2008 +0000
+++ b/pkgtools/pkg_install/files/admin/audit.c  Sat Mar 15 10:46:08 2008 +0000
@@ -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 @@
 #if HAVE_STRING_H
 #include <string.h>
 #endif
+#if HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 
 #include "admin.h"
 #include "lib.h"



Home | Main Index | Thread Index | Old Index