summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_aio_fork.c4
1 files changed, 4 insertions, 0 deletions
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;