diff options
Diffstat (limited to 'openbsd-compat/xmmap.c')
-rw-r--r-- | openbsd-compat/xmmap.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 <sys/mman.h> #endif #include <sys/stat.h> +#ifdef HAVE_FCNTL_H +# include <fcntl.h> +#endif #include <errno.h> #include <string.h> |