pkgsrc-wip/ar7/patches/patch-aa

17 lines
428 B
Plaintext

$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