Include termios.h for definition of struct winsize

On android API level 9 the header does not get included transitively.
Include it directly.

As far as I can see, all non-windows platforms should have this header.
If that turns out to be incorrect, we can add some ifdefs around that.

llvm-svn: 292931
This commit is contained in:
Pavel Labath 2017-01-24 14:05:23 +00:00
parent 29a8eba974
commit b8ad01559f
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@
#include "lldb/Host/windows/windows.h"
#else
#include <sys/ioctl.h>
#include <termios.h>
#endif
#include "llvm/Support/ConvertUTF.h"