diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-12-17 01:04:38 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-12-17 01:04:38 +0000 |
commit | d973a107a2edac5ee2874eb6fdc005b9d32be379 (patch) | |
tree | 214bd055e2bdffd0c11478c551953f344ba98605 /source3/include | |
parent | dc003d8d408b87eecba9044d2d8732a3604827bf (diff) | |
download | samba-d973a107a2edac5ee2874eb6fdc005b9d32be379.tar.gz samba-d973a107a2edac5ee2874eb6fdc005b9d32be379.tar.bz2 samba-d973a107a2edac5ee2874eb6fdc005b9d32be379.zip |
and in head branch:
make sure we include sys/mman.h if available
(This used to be commit ccf644388732287da01a943ea826187b5394ebc6)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/config.h.in | 3 | ||||
-rw-r--r-- | source3/include/includes.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in index 393a0e679f..44e7b08377 100644 --- a/source3/include/config.h.in +++ b/source3/include/config.h.in @@ -723,6 +723,9 @@ /* Define if you have the <sys/ioctl.h> header file. */ #undef HAVE_SYS_IOCTL_H +/* Define if you have the <sys/mman.h> header file. */ +#undef HAVE_SYS_MMAN_H + /* Define if you have the <sys/mode.h> header file. */ #undef HAVE_SYS_MODE_H diff --git a/source3/include/includes.h b/source3/include/includes.h index a70de0b3a9..74aabc0b1f 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -223,7 +223,7 @@ # endif #endif -#ifdef HAVE_SHARED_MMAP +#ifdef HAVE_SYS_MMAN_H #include <sys/mman.h> #endif |