summaryrefslogtreecommitdiff
path: root/openbsd-compat/xmmap.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-07-25 19:52:07 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-07-25 19:52:07 +1000
commit94346f85967e54ceec7b643eb7e74f4814fd75d7 (patch)
tree2f6ac095cc57eb40b4ab838ba422bb5435beb6bc /openbsd-compat/xmmap.c
parent28e9ad1bed41dd0a7ed9f8df64f97207e14c1072 (diff)
- (dtucker) [openbsd-compat/xmmap.c] Need fcntl.h for O_RDRW.
Diffstat (limited to 'openbsd-compat/xmmap.c')
-rw-r--r--openbsd-compat/xmmap.c5
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 @@
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26/* $Id: xmmap.c,v 1.9 2006/07/24 04:51:01 djm Exp $ */ 26/* $Id: xmmap.c,v 1.10 2006/07/25 09:52:08 dtucker Exp $ */
27 27
28#include "includes.h" 28#include "includes.h"
29 29
@@ -32,6 +32,9 @@
32#include <sys/mman.h> 32#include <sys/mman.h>
33#endif 33#endif
34#include <sys/stat.h> 34#include <sys/stat.h>
35#ifdef HAVE_FCNTL_H
36# include <fcntl.h>
37#endif
35 38
36#include <errno.h> 39#include <errno.h>
37#include <string.h> 40#include <string.h>