From 94346f85967e54ceec7b643eb7e74f4814fd75d7 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 25 Jul 2006 19:52:07 +1000 Subject: - (dtucker) [openbsd-compat/xmmap.c] Need fcntl.h for O_RDRW. --- openbsd-compat/xmmap.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'openbsd-compat/xmmap.c') diff --git a/openbsd-compat/xmmap.c b/openbsd-compat/xmmap.c index 1293dcab0..6a1708e5d 100644 --- a/openbsd-compat/xmmap.c +++ b/openbsd-compat/xmmap.c @@ -23,7 +23,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* $Id: xmmap.c,v 1.9 2006/07/24 04:51:01 djm Exp $ */ +/* $Id: xmmap.c,v 1.10 2006/07/25 09:52:08 dtucker Exp $ */ #include "includes.h" @@ -32,6 +32,9 @@ #include #endif #include +#ifdef HAVE_FCNTL_H +# include +#endif #include #include -- cgit v1.2.3