summaryrefslogtreecommitdiffstats
path: root/utils/async_netdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/async_netdb.c')
-rw-r--r--utils/async_netdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/async_netdb.c b/utils/async_netdb.c
index 930da40..d9e2102 100644
--- a/utils/async_netdb.c
+++ b/utils/async_netdb.c
@@ -48,10 +48,10 @@ int _async_netdb_is_done (struct io_thread *io)
# define _get_addr_family(addr) ((addr)->x_sockaddr_in.sin_family)
# define _get_addr_len(addr) ((addr)->x_sockaddr_in.sin_len)
-static const int _has_threads = -1;
-
# if ASYNC_NETDB_FAKE_EAI
+static const int _has_threads = -1;
+
const char *_async_netdb_strerror (int errcode)
{
/* (h)strerror should return messages in the user's preferred language. */