2010-06-19 22:52:24 +00:00
|
|
|
$NetBSD: patch-aa,v 1.2 2010/06/19 22:52:24 gschwarz Exp $
|
2008-11-08 21:31:18 +00:00
|
|
|
|
2010-06-19 22:52:24 +00:00
|
|
|
--- 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 @@
|
2008-11-08 21:31:18 +00:00
|
|
|
#if !defined(__WIN32__)
|
|
|
|
+ #include <sys/types.h>
|
|
|
|
#include <sys/socket.h>
|
|
|
|
#include <netinet/in.h>
|
|
|
|
#include <netdb.h>
|
2010-06-19 22:52:24 +00:00
|
|
|
+ #ifdef HAVE_UNISTD_H
|
|
|
|
+ #include <unistd.h>
|
|
|
|
+ #endif
|
|
|
|
#else
|
|
|
|
#include <winsock2.h>
|
|
|
|
#endif
|