chiark / gitweb /
Look for inet_aton and inet_ntoa (in -lnsl and -lsocket).
[adns.git] / src / general.c
index b701b9f8b57975ecd9ee752ca6ab5d81878e873e..079f8b7cd30efc77b9d66f105e3f6007e1374c69 100644 (file)
@@ -24,6 +24,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"