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/create Include fcntl.h for ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1c6c8634b314
branches: trunk
changeset: 553924:1c6c8634b314
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Feb 03 13:15:34 2009 +0000
description:
Include fcntl.h for O_RDONLY, it is included indirectly on NetBSD, but
not on Solaris. Part of PR 40544.
diffstat:
pkgtools/pkg_install/files/create/perform.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 510209de587d -r 1c6c8634b314 pkgtools/pkg_install/files/create/perform.c
--- a/pkgtools/pkg_install/files/create/perform.c Tue Feb 03 12:45:14 2009 +0000
+++ b/pkgtools/pkg_install/files/create/perform.c Tue Feb 03 13:15:34 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: perform.c,v 1.23 2009/02/02 12:35:01 joerg Exp $ */
+/* $NetBSD: perform.c,v 1.24 2009/02/03 13:15:34 joerg Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
@@ -7,7 +7,7 @@
#if HAVE_SYS_CDEFS_H
#include <sys/cdefs.h>
#endif
-__RCSID("$NetBSD: perform.c,v 1.23 2009/02/02 12:35:01 joerg Exp $");
+__RCSID("$NetBSD: perform.c,v 1.24 2009/02/03 13:15:34 joerg Exp $");
/*
* FreeBSD install - a package for the installation and maintainance
@@ -35,6 +35,9 @@
#if HAVE_ERR_H
#include <err.h>
#endif
+#if HAVE_FCNTL_H
+#include <fcntl.h>
+#endif
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
Home |
Main Index |
Thread Index |
Old Index