From b9127ca07c37288f16b1fdc267d3f106721ed301 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Thu, 22 Aug 2019 13:11:00 +0200 Subject: srvrec: Use re-entrant resolver functions This should probably make those functions thread-safe, which might be useful for some external users. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 0487429c6..160f7f913 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -186,7 +186,7 @@ if (NOT HAVE_SIGHANDLER_T) endif() # Handle resolving -check_function_exists(res_init HAVE_LIBC_RESOLV) +check_function_exists(res_ninit HAVE_LIBC_RESOLV) if(HAVE_LIBC_RESOLV) set(RESOLV_LIBRARIES) else() -- cgit v1.2.3-18-g5258