From 989500b616ca4cd3838184198ac90643fdb7f528 Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Mon, 30 Nov 2009 12:11:40 -0800 Subject: getaddrinfo.c: include tls.h before resolv.h This is needed because tls.h ends up includeing nptl/descr.h which needs the full res_state definition. resolv.h also ends up including tls.h, but _without_ the full res_state struct it errors. Signed-off-by: Austin Foxley --- libc/inet/getaddrinfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libc/inet/getaddrinfo.c b/libc/inet/getaddrinfo.c index 4a42b9eb6..8c7f7b9f1 100644 --- a/libc/inet/getaddrinfo.c +++ b/libc/inet/getaddrinfo.c @@ -56,6 +56,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include #include #include +#include #include #include #include -- cgit v1.2.3