[PATCH BlueZ] Fix build error for hciemu

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

 



Error:

test/hciemu.c: In function 'create_snoop':
test/hciemu.c:155: error: 'S_IRUSR' undeclared (first use in this
function)
test/hciemu.c:155: error: (Each undeclared identifier is reported only
once
test/hciemu.c:155: error: for each function it appears in.)
test/hciemu.c:155: error: 'S_IWUSR' undeclared (first use in this
function)
test/hciemu.c:155: error: 'S_IRGRP' undeclared (first use in this
function)
test/hciemu.c:155: error: 'S_IROTH' undeclared (first use in this
function)
---
 test/hciemu.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/test/hciemu.c b/test/hciemu.c
index 38918f5..f2879ba 100644
--- a/test/hciemu.c
+++ b/test/hciemu.c
@@ -40,6 +40,7 @@
 #include <sys/epoll.h>
 #include <sys/socket.h>
 #include <sys/resource.h>
+#include <sys/stat.h>
 
 #include <bluetooth/bluetooth.h>
 #include <bluetooth/hci.h>
-- 
1.7.0.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