Small fixes so tinc compiles out of the box on SunOS 5.8
[tinc] / lib / fake-getaddrinfo.c
index a1d36b1..d831732 100644 (file)
@@ -11,6 +11,7 @@
 
 #include "config.h"
 
+#include <stdlib.h>
 #include <sys/types.h>
 #include <netinet/in.h>
 #include <sys/socket.h>