aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/daemon.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2023-03-03 13:23:01 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2023-03-03 13:23:01 +0300
commit677e6e431aa1b1ccd1cd61ba69cbc1a1c1201970 (patch)
tree0d80d108a625ef1b96748b68b68c0e78bf15f134 /src/microhttpd/daemon.c
parent29311f409720f69873f7e58bfcad6a21ba0521ad (diff)
downloadlibmicrohttpd-677e6e431aa1b1ccd1cd61ba69cbc1a1c1201970.tar.gz
libmicrohttpd-677e6e431aa1b1ccd1cd61ba69cbc1a1c1201970.zip
configure: fixed checks for tsearch() and related
New check works correctly with new compilers. Added known problematic implementations. Added more checks for correct behaviour. Removed some m4 macros.
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 @@
47#include "mhd_align.h" 47#include "mhd_align.h"
48#include "mhd_str.h" 48#include "mhd_str.h"
49 49
50#ifdef HAVE_SEARCH_H 50#ifdef MHD_USE_SYS_TSEARCH
51#include <search.h> 51#include <search.h>
52#else 52#else /* ! MHD_USE_SYS_TSEARCH */
53#include "tsearch.h" 53#include "tsearch.h"
54#endif 54#endif /* ! MHD_USE_SYS_TSEARCH */
55 55
56#ifdef HTTPS_SUPPORT 56#ifdef HTTPS_SUPPORT
57#include "connection_https.h" 57#include "connection_https.h"