summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-07-06 15:05:02 +0200
committerJeremy Allison <jra@samba.org>2012-07-18 15:40:35 -0700
commitf9df073a31a813f5ee50d4d8ea3ec590e1a3e970 (patch)
tree02e95cfa1bf9050d213b51705f7d349335d66e13 /source3/lib
parent715653a335acec525e8b0aa6d24d840d9d347eb9 (diff)
downloadsamba-f9df073a31a813f5ee50d4d8ea3ec590e1a3e970.tar.gz
samba-f9df073a31a813f5ee50d4d8ea3ec590e1a3e970.tar.bz2
samba-f9df073a31a813f5ee50d4d8ea3ec590e1a3e970.zip
s3: Make smbd/aio.c not depend on aio.h anymore
Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/system.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index fe8aec317d..fbfab3ec4f 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -35,6 +35,10 @@
#include <sys/prctl.h>
#endif
+#if defined(HAVE_AIO_H)
+#include <aio.h>
+#endif
+
/*
The idea is that this file will eventually have wrappers around all
important system calls in samba. The aims are: