Small fixes so tinc compiles out of the box on SunOS 5.8
[oweals/tinc.git] / lib / fake-getnameinfo.c
index ad69410a9301590635023929c1a92ef294aae87e..05416487ead0f12e687108cf10b0ae2ca5061134 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>
 
-/* RCSID("$Id: fake-getnameinfo.c,v 1.1.2.3 2002/06/09 16:12:04 zarq Exp $"); */
+#include "fake-getnameinfo.h"
 
 #ifndef HAVE_GETNAMEINFO