dnsresolve.c
changeset 154 142730cfecee
parent 153 b223089872b6
--- a/dnsresolve.c
+++ b/dnsresolve.c
@@ -6,8 +6,11 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <sys/types.h>
+#include <sys/socket.h>
 #include <arpa/inet.h>
 #include <netdb.h>
+#include <netinet/in.h>
 
 int main (int argc, char **argv)
 {