[PATCH] shared: Fix build issue for Android

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



target thumb C: bluetoothd-snoop <=
external/bluetooth/bluez/android/../src/shared/btsnoop.c
external/bluetooth/bluez/android/../src/shared/btsnoop.c: In function
'btsnoop_create':
external/bluetooth/bluez/android/../src/shared/btsnoop.c:126:6: error:
'S_IRUSR' undeclared (first use in this function)
external/bluetooth/bluez/android/../src/shared/btsnoop.c:126:6: note:
each undeclared identifier is reported only once for each function it
appears in
external/bluetooth/bluez/android/../src/shared/btsnoop.c:126:16: error:
'S_IWUSR' undeclared (first use in this function)
external/bluetooth/bluez/android/../src/shared/btsnoop.c:126:26: error:
'S_IRGRP' undeclared (first use in this function)
external/bluetooth/bluez/android/../src/shared/btsnoop.c:126:36: error:
'S_IROTH' undeclared (first use in this function)

---
 src/shared/btsnoop.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/shared/btsnoop.c b/src/shared/btsnoop.c
index 58c9f1d..61f7bfc 100644
--- a/src/shared/btsnoop.c
+++ b/src/shared/btsnoop.c
@@ -30,6 +30,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <arpa/inet.h>
+#include <sys/stat.h>
 
 #include "btsnoop.h"
 
-- 
1.8.4

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux