$OpenBSD: patch-include_network_h,v 1.4 2004/10/21 06:10:45 jolan Exp $
--- include/network.h.orig	Tue Aug 17 13:01:24 2004
+++ include/network.h	Thu Oct 21 00:15:10 2004
@@ -46,7 +46,7 @@
 #include <netinet/tcp.h>
 #include <arpa/inet.h>
 #include <netdb.h>
-#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(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__APPLE__) && !defined(macintosh) && !defined(__BEOS__))
 #include <bstring.h>
 #endif
 
@@ -72,7 +72,7 @@
 #define SSOType		void*
 #endif
 
-#if defined(__FreeBSD__) || defined(sun) || defined(__NetBSD__)
+#if defined(__FreeBSD__) || defined(sun) || defined(__NetBSD__) || defined(__OpenBSD__)
 #define AddrLen		socklen_t
 #endif
 
