$NetBSD: patch-ab,v 1.3 2003/12/13 10:32:53 xtraeme Exp $ --- include/network.h.orig 2003-12-13 10:57:47.000000000 +0100 +++ include/network.h 2003-12-13 10:58:05.000000000 +0100 @@ -46,7 +46,7 @@ #include #include #include -#if defined(_old_linux_) || (!defined(__linux__) && !defined(sun) && !defined(__FreeBSD__) && !defined(__APPLE__) && !defined(macintosh) && !defined(__BEOS__)) +#if defined(_old_linux_) || (!defined(__linux__) && !defined(sun) && !defined(BSD) && !defined(__APPLE__) && !defined(macintosh) && !defined(__BEOS__)) #include #endif @@ -72,7 +72,7 @@ #define SSOType void* #endif -#if defined(__FreeBSD__) || defined(sun) +#if defined(BSD) || defined(sun) #define AddrLen socklen_t #endif