OSDN Git Service

android: Fix build errors
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Tue, 29 Oct 2013 12:48:41 +0000 (14:48 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 29 Oct 2013 13:04:41 +0000 (15:04 +0200)
The patch fixes following issues when building:

Make links to sco.h and rfcomm.h needed for Android sockets.
...
btio.c:39:30: fatal error: bluetooth/rfcomm.h: No such file or directory
compilation terminated.
...
btio.c:40:27: fatal error: bluetooth/sco.h: No such file or directory
compilation terminated.
...

android/Android.mk

index 28ec465..d8f9d0d 100644 (file)
@@ -52,6 +52,8 @@ lib_headers := \
        l2cap.h \
        sdp_lib.h \
        sdp.h \
+       rfcomm.h \
+       sco.h \
 
 $(shell mkdir -p $(LOCAL_PATH)/../lib/bluetooth)