Support pre-IPv6 systems (without getaddrinfo)
[profile/ivi/libxcb.git] / src / xcb_auth.c
index a3a7e45..859ab8a 100644 (file)
 #include <sys/param.h>
 #include <unistd.h>
 #include <stdlib.h>
+#include <arpa/inet.h>
+
+#ifdef __INTERIX
+/* _don't_ ask. interix has INADDR_LOOPBACK in here. */
+#include <rpc/types.h>
+#endif
 
 #ifdef _WIN32
 #include "xcb_windefs.h"