summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/aio.c2
-rw-r--r--source3/smbd/globals.c2
-rw-r--r--source3/smbd/globals.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c
index aa8aee00fb..131094de36 100644
--- a/source3/smbd/aio.c
+++ b/source3/smbd/aio.c
@@ -23,7 +23,7 @@
#include "smbd/globals.h"
#include "../lib/util/tevent_ntstatus.h"
-#if defined(WITH_AIO)
+#if defined(HAVE_AIO)
/* The signal we'll use to signify aio done. */
#ifndef RT_SIGNAL_AIO
diff --git a/source3/smbd/globals.c b/source3/smbd/globals.c
index f107c0e661..7c4ffec099 100644
--- a/source3/smbd/globals.c
+++ b/source3/smbd/globals.c
@@ -25,7 +25,7 @@
#include "messages.h"
#include "tdb_compat.h"
-#if defined(WITH_AIO)
+#if defined(HAVE_AIO)
struct aio_extra *aio_list_head = NULL;
struct tevent_signal *aio_signal_event = NULL;
int aio_pending_size = 0;
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index ccf79fe5ff..2c0056660f 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -20,7 +20,7 @@
#include "system/select.h"
-#if defined(WITH_AIO)
+#if defined(HAVE_AIO)
struct aio_extra;
extern struct aio_extra *aio_list_head;
extern struct tevent_signal *aio_signal_event;