$NetBSD: patch-af,v 1.3 2006/07/09 09:27:52 xtraeme Exp $ --- lib/btobex.c.orig 2006-07-09 10:36:43.000000000 +0200 +++ lib/btobex.c 2006-07-09 10:38:51.000000000 +0200 @@ -37,7 +37,7 @@ #include #else /* _WIN32 */ -/* Linux case */ +/* Linux/NetBSD case */ #include #include @@ -46,8 +46,17 @@ #include #include +#ifdef HAVE_NETBSD_BLUETOOTH +#define rc_family bt_family +#define rc_bdaddr bt_bdaddr +#define rc_channel bt_channel +#define sockaddr_rc sockaddr_bt +#include +#include +#else #include #include +#endif #endif /* _WIN32 */