$NetBSD: patch-ag,v 1.1 2007/03/26 06:31:55 xtraeme Exp $

--- src/hardware/serialport/misc_util.cpp.orig	2007-03-26 08:23:25.000000000 +0200
+++ src/hardware/serialport/misc_util.cpp	2007-03-26 08:23:49.000000000 +0200
@@ -6,7 +6,7 @@
 // C++ SDLnet wrapper
 
 // Socket inheritance
-#if defined LINUX || defined OS2
+#if defined LINUX || defined OS2 || defined BSD
 #define CAPWORD (NETWRAPPER_TCP|NETWRAPPER_TCP_NATIVESOCKET)
 #ifdef OS2
 typedef int     socklen_t;
