summaryrefslogtreecommitdiff
path: root/src/microhttpd/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r--src/microhttpd/daemon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index c9c0d51c..5e9be378 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -47,11 +47,11 @@
#include "mhd_align.h"
#include "mhd_str.h"
-#ifdef HAVE_SEARCH_H
+#ifdef MHD_USE_SYS_TSEARCH
#include <search.h>
-#else
+#else /* ! MHD_USE_SYS_TSEARCH */
#include "tsearch.h"
-#endif
+#endif /* ! MHD_USE_SYS_TSEARCH */
#ifdef HTTPS_SUPPORT
#include "connection_https.h"