f55124921b
This issue surfaced on Solaris with the Sunpro compiler.
16 lines
428 B
Text
16 lines
428 B
Text
$NetBSD: patch-aa,v 1.2 2010/06/19 22:52:24 gschwarz Exp $
|
|
|
|
--- src/net.h.orig 2006-05-20 19:53:42.000000000 +0200
|
|
+++ src/net.h 2010-06-20 00:23:07.000000000 +0200
|
|
@@ -1,7 +1,11 @@
|
|
#if !defined(__WIN32__)
|
|
+ #include <sys/types.h>
|
|
#include <sys/socket.h>
|
|
#include <netinet/in.h>
|
|
#include <netdb.h>
|
|
+ #ifdef HAVE_UNISTD_H
|
|
+ #include <unistd.h>
|
|
+ #endif
|
|
#else
|
|
#include <winsock2.h>
|
|
#endif
|