Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0fbf9618 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

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
parent 1358e286
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@

#if !defined(_WIN32)
#include <signal.h>
#include <termio.h>
#include <sys/ioctl.h>
#include <termios.h>
#include <unistd.h>
#endif