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. --- ChangeLog | 5 ++++- openbsd-compat/xmmap.c | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 77af8bef7..d4a4e7b6c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +20060725 + - (dtucker) [openbsd-compat/xmmap.c] Need fcntl.h for O_RDRW. + 20060724 - (djm) OpenBSD CVS Sync - jmc@cvs.openbsd.org 2006/07/12 13:39:55 @@ -5056,4 +5059,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.4438 2006/07/24 13:50:23 dtucker Exp $ +$Id: ChangeLog,v 1.4439 2006/07/25 09:52:07 dtucker Exp $ 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