summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_aio_fork.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-07-16 12:44:42 +0200
committerJeremy Allison <jra@samba.org>2012-07-18 15:53:28 -0700
commit4a9b5cce92d65317fee4583f1ece4af7a3ae9558 (patch)
treea6327bc09317d2996575c36b88fe62c6232e1aa2 /source3/modules/vfs_aio_fork.c
parentd948b1bfeec02706e8cd08a4f82c0ce54f99491c (diff)
downloadsamba-4a9b5cce92d65317fee4583f1ece4af7a3ae9558.tar.gz
samba-4a9b5cce92d65317fee4583f1ece4af7a3ae9558.tar.bz2
samba-4a9b5cce92d65317fee4583f1ece4af7a3ae9558.zip
config: The AIO engine is indepent of HAVE_AIO now
Compile the basic aio engine always, it works via libasys/pthreadpool_sync in a sync fashion even if no pthreads are around. Everything else (linux aio, posix aio, aio fork) is now compiled as modules based on specific system capabilities Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/modules/vfs_aio_fork.c')
-rw-r--r--source3/modules/vfs_aio_fork.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/modules/vfs_aio_fork.c b/source3/modules/vfs_aio_fork.c
index c8a1fdc0f3..1bbdae2985 100644
--- a/source3/modules/vfs_aio_fork.c
+++ b/source3/modules/vfs_aio_fork.c
@@ -27,6 +27,8 @@
#include "lib/async_req/async_sock.h"
#include "lib/util/tevent_unix.h"
+#undef recvmsg
+
#ifndef MAP_FILE
#define MAP_FILE 0
#endif