summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index f704fcb687..44b5ea1bd7 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -514,7 +514,7 @@
#include <langinfo.h>
#endif
-#ifdef HAVE_AIO_H
+#if defined(HAVE_AIO_H) && defined(WITH_AIO)
#include <aio.h>
#endif