Thread (2 messages) 2 messages, 2 authors, 2013-09-12
STALE4700d

[PATCH] monitor: Add missing include

From: Szymon Janc <hidden>
Date: 2013-09-11 14:03:28
Subsystem: the rest · Maintainer: Linus Torvalds

Bionic library requires explicit include for data types used in ioctl
call. This fix following build error with bionic:

target  C: btmon <= external/bluetooth/bluez/monitor/display.c
external/bluetooth/bluez/monitor/display.c: In function 'num_columns':
external/bluetooth/bluez/monitor/display.c:59:18: error: storage size
    of 'ws' isn't known
---
 monitor/display.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/monitor/display.c b/monitor/display.c
index 7b6fc98..b8dce1f 100644
--- a/monitor/display.c
+++ b/monitor/display.c
@@ -35,6 +35,7 @@
 #include <sys/wait.h>
 #include <sys/prctl.h>
 #include <sys/ioctl.h>
+#include <termios.h>
 
 #include "display.h"
 
-- 
1.8.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help