egression test doesn't rely on value of O_NONBLOCK and other flags.
[adns] / src / types.c
index 50fb1e8..c1d613a 100644 (file)
@@ -23,6 +23,9 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
 #include <arpa/inet.h>
 
 #include "internal.h"