use __h_errno_location for h_errno
[musl] / src / network / res_query.c
index 4200999..c3ad109 100644 (file)
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
 #include <netdb.h>
 #include "__dns.h"
 #include "libc.h"