summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-04-20 18:21:25 +0200
committerGünther Deschner <gd@samba.org>2011-04-20 19:16:47 +0200
commit0b89ce671250daddc86400ef4e1996c37c126025 (patch)
tree46a52b21c21a68c324f44704ae0ff8669b24e414 /source3/modules
parentae61a5c3d05192457f5a0b24dd9bd34317df566f (diff)
downloadsamba-0b89ce671250daddc86400ef4e1996c37c126025.tar.gz
samba-0b89ce671250daddc86400ef4e1996c37c126025.tar.bz2
samba-0b89ce671250daddc86400ef4e1996c37c126025.zip
s3-build: move MAP_FILE define to the only place used.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Apr 20 19:16:47 CEST 2011 on sn-devel-104
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;