summaryrefslogtreecommitdiff
path: root/comms/obexftp/patches/patch-ad
blob: c017c183b75c29d7fa7879e3631df358b33492cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$NetBSD: patch-ad,v 1.2 2006/07/17 12:29:57 xtraeme Exp $

--- obexftp/client.h.orig	2006-01-11 16:22:51.000000000 +0100
+++ obexftp/client.h	2006-07-09 12:39:10.000000000 +0200
@@ -22,9 +22,23 @@
 #ifndef OBEXFTP_CLIENT_H
 #define OBEXFTP_CLIENT_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <inttypes.h>
 #include <sys/stat.h>
+#include <sys/types.h>
 #include <time.h>
+
+#ifdef HAVE_BLUETOOTH
+#ifdef __NetBSD__
+#include <bluetooth.h>
+#else
+#include <bluetooth/bluetooth.h>
+#endif
+#endif /* HAVE_BLUETOOTH */
+
 #include <openobex/obex.h>
 #ifndef OBEX_TRANS_USB
 #define OBEX_TRANS_USB		6