Fix Mac adb build.
The Mac doesn't have <termio.h>, and it looks like the canonical place for struct winsize is <sys/ioctl.h> anyway. system/core/adb/commandline.cpp:44:10: fatal error: 'termio.h' file not found #include <termio.h> Bug: http://b/19734542 Change-Id: I3bfbf58cdb9b582f3b7e2c9ef0977613001cd3ac
This commit is contained in:
parent
1358e2869c
commit
0fbf9618bb
|
@ -41,7 +41,7 @@
|
|||
|
||||
#if !defined(_WIN32)
|
||||
#include <signal.h>
|
||||
#include <termio.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue