Various fixes for autoconf and OpenSSL 0.9.7 and a missing header.
[tinc] / lib / fake-getnameinfo.c
index 894c695..50d0722 100644 (file)
 
 #include "config.h"
 
+#include <stdio.h>
 #include <sys/types.h>
-#include <netinet/in.h>
 #include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
 #include <netdb.h>
 #include <string.h>
 
 #include <system.h>
 
 #include "fake-getnameinfo.h"
+#include "fake-getaddrinfo.h"
 
 #ifndef HAVE_GETNAMEINFO