fix to build without Bluetooth headers

This commit is contained in:
ehouse 2008-02-02 16:53:36 +00:00
parent 19ea3e1f6e
commit 3b449f3211

View file

@ -26,14 +26,16 @@
#include <netdb.h> #include <netdb.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <bluetooth/bluetooth.h> #ifdef XWFEATURE_BLUETOOTH
#if defined BT_USE_L2CAP # include <bluetooth/bluetooth.h>
# include <bluetooth/l2cap.h> # if defined BT_USE_L2CAP
#elif defined BT_USE_RFCOMM # include <bluetooth/l2cap.h>
# include <bluetooth/rfcomm.h> # elif defined BT_USE_RFCOMM
# include <bluetooth/rfcomm.h>
# endif
# include <bluetooth/sdp.h>
# include <bluetooth/sdp_lib.h>
#endif #endif
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
#include "linuxudp.h" #include "linuxudp.h"
#include "comms.h" #include "comms.h"