Include complete fake-getname/addrinfo from OpenSSH.
[tinc] / lib / fake-getnameinfo.c
index 3ad42d0..894c695 100644 (file)
 #include "config.h"
 
 #include <sys/types.h>
+#include <netinet/in.h>
 #include <sys/socket.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"
 
 #ifndef HAVE_GETNAMEINFO