pkgsrc/comms/obexftp/patches/patch-ad

28 lines
650 B
Text

$NetBSD: patch-ad,v 1.3 2009/07/20 05:56:03 hasso 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
+#if defined(__NetBSD__) || defined(__DragonFly__)
+#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