diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/includes.h | 4 | ||||
-rw-r--r-- | source3/modules/vfs_aio_fork.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 1dac73a168..a76942faad 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -580,10 +580,6 @@ enum flush_reason_enum { #define SIGRTMIN NSIG #endif -#ifndef MAP_FILE -#define MAP_FILE 0 -#endif - #if defined(HAVE_PUTPRPWNAM) && defined(AUTH_CLEARTEXT_SEG_CHARS) #define OSF1_ENH_SEC 1 #endif diff --git a/source3/modules/vfs_aio_fork.c b/source3/modules/vfs_aio_fork.c index 881bc51eb2..41b5a89dd2 100644 --- a/source3/modules/vfs_aio_fork.c +++ b/source3/modules/vfs_aio_fork.c @@ -24,6 +24,10 @@ #include "system/shmem.h" #include "smbd/smbd.h" +#ifndef MAP_FILE +#define MAP_FILE 0 +#endif + struct mmap_area { size_t size; volatile void *ptr; |