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 Explicitly include fc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c06ee81cb5ed
branches:  trunk
changeset: 539988:c06ee81cb5ed
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Mar 19 15:33:12 2008 +0000

description:
Explicitly include fcntl.h for Solaris. From PR 38240.

diffstat:

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

diffs (28 lines):

diff -r 97b41fd52930 -r c06ee81cb5ed pkgtools/pkg_install/files/admin/audit.c
--- a/pkgtools/pkg_install/files/admin/audit.c  Wed Mar 19 12:13:23 2008 +0000
+++ b/pkgtools/pkg_install/files/admin/audit.c  Wed Mar 19 15:33:12 2008 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: audit.c,v 1.2 2008/03/15 10:46:08 joerg Exp $  */
+/*     $NetBSD: audit.c,v 1.3 2008/03/19 15:33:12 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.2 2008/03/15 10:46:08 joerg Exp $");
+__RCSID("$NetBSD: audit.c,v 1.3 2008/03/19 15:33:12 joerg Exp $");
 #endif
 
 /*-
@@ -55,6 +55,9 @@
 #if HAVE_ERRNO_H
 #include <errno.h>
 #endif
+#if HAVE_FCNTL_H
+#include <fcntl.h>
+#endif
 #if HAVE_SIGNAL_H
 #include <signal.h>
 #endif



Home | Main Index | Thread Index | Old Index