$NetBSD: patch-ag,v 1.2 2006/07/17 12:29:57 xtraeme Exp $

--- obexftp/cache.c.orig	2006-07-09 12:43:21.000000000 +0200
+++ obexftp/cache.c	2006-07-09 12:43:56.000000000 +0200
@@ -40,6 +40,14 @@
 #include <langinfo.h>
 #endif
 
+#ifdef HAVE_BLUETOOTH
+#if defined(__NetBSD__) || defined(__DragonFly__)
+#include <bluetooth.h>
+#else
+#include <bluetooth/bluetooth.h>
+#endif
+#endif /* HAVE_BLUETOOTH */
+
 #include <openobex/obex.h>
 
 #include "obexftp.h"
