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:
Elliott Hughes 2015-11-04 13:07:47 -08:00
parent 1358e2869c
commit 0fbf9618bb
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
#if !defined(_WIN32)
#include <signal.h>
#include <termio.h>
#include <sys/ioctl.h>
#include <termios.h>
#include <unistd.h>
#endif