$NetBSD: patch-ac,v 1.2 2006/07/09 09:27:52 xtraeme Exp $ --- lib/obex_transport.h.orig 2006-07-09 10:19:01.000000000 +0200 +++ lib/obex_transport.h 2006-07-09 10:20:53.000000000 +0200 @@ -39,7 +39,10 @@ #ifdef HAVE_IRDA #include "irda_wrap.h" #endif /*HAVE_IRDA*/ -#ifdef HAVE_BLUETOOTH +#ifdef HAVE_NETBSD_BLUETOOTH +#include +#include +#elif defined(HAVE_BLUETOOTH) #include #include #endif /*HAVE_BLUETOOTH*/ @@ -54,7 +57,9 @@ struct sockaddr_irda irda; #endif /*HAVE_IRDA*/ struct sockaddr_in inet; -#ifdef HAVE_BLUETOOTH +#ifdef HAVE_NETBSD_BLUETOOTH + struct sockaddr_bt rfcomm; +#elif defined(HAVE_BLUETOOTH) struct sockaddr_rc rfcomm; #endif /*HAVE_BLUETOOTH*/ #ifdef HAVE_USB