chiark / gitweb /
Portability fixes (missing struct in_addr, INADDR_LOOPBACK defs, rrs=0
[adns.git] / src / types.c
index 50fb1e8d91c0c98b4143577165736191f5416aae..042675afe949b70b69f928a48dad558f1bb000f0 100644 (file)
@@ -23,6 +23,8 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include <sys/socket.h>
+#include <netinet/in.h>
 #include <arpa/inet.h>
 
 #include "internal.h"