diff options
author | joerg <joerg@pkgsrc.org> | 2008-03-19 15:33:12 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-03-19 15:33:12 +0000 |
commit | c088a7a80671392819f20840bbb6d47ff5e3dc18 (patch) | |
tree | e5c06322ecd5aa2aa206d4870a17c70af745097e /pkgtools | |
parent | 98c573af4bc5bc8fe12af363806b7fa9f6b09968 (diff) | |
download | pkgsrc-c088a7a80671392819f20840bbb6d47ff5e3dc18.tar.gz |
Explicitly include fcntl.h for Solaris. From PR 38240.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_install/files/admin/audit.c | 7 |
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 0d70fb6c53c..bc245fa7c8f 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.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 @@ __RCSID("$NetBSD: audit.c,v 1.2 2008/03/15 10:46:08 joerg Exp $"); #if HAVE_ERRNO_H #include <errno.h> #endif +#if HAVE_FCNTL_H +#include <fcntl.h> +#endif #if HAVE_SIGNAL_H #include <signal.h> #endif |