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