diff options
Diffstat (limited to 'openbsd-compat')
-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 @@ | |||
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> |