Small fixes so tinc compiles out of the box on SunOS 5.8
[oweals/tinc.git] / lib / fake-getnameinfo.c
index c3ff57f0edc749a6e6c51f7a916a6e8d8386da06..05416487ead0f12e687108cf10b0ae2ca5061134 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.1 2002/06/09 15:26:10 zarq Exp $");
+#include "fake-getnameinfo.h"
 
 #ifndef HAVE_GETNAMEINFO