Various fixes for autoconf and OpenSSL 0.9.7 and a missing header.
[tinc] / lib / fake-getnameinfo.c
index 3ad42d0..50d0722 100644 (file)
 
 #include "config.h"
 
+#include <stdio.h>
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+#include <netdb.h>
+#include <string.h>
+
 #include <system.h>
 
-/* RCSID("$Id: fake-getnameinfo.c,v 1.1.2.2 2002/06/09 15:50:11 zarq Exp $"); */
+#include "fake-getnameinfo.h"
+#include "fake-getaddrinfo.h"
 
 #ifndef HAVE_GETNAMEINFO