summaryrefslogtreecommitdiff
path: root/comms/obexftp/patches/patch-ac
blob: 014edff2d50c146784c26810cca98d14d0166726 (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
$NetBSD: patch-ac,v 1.2 2006/07/17 12:29:57 xtraeme Exp $

--- obexftp/object.h.orig	2005-09-13 16:53:20.000000000 +0200
+++ obexftp/object.h	2006-07-09 12:45:14.000000000 +0200
@@ -22,7 +22,21 @@
 #ifndef OBEXFTP_OBJECT_H
 #define OBEXFTP_OBJECT_H
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <inttypes.h>
+#include <sys/types.h>
+
+#ifdef HAVE_BLUETOOTH
+#ifdef __NetBSD__
+#include <bluetooth.h>
+#else
+#include <bluetooth/bluetooth.h>
+#endif
+#endif /* HAVE_BLUETOOTH */
+
 #include <openobex/obex.h>
 
 #ifdef __cplusplus