Author: labath
Date: Tue Jan 24 08:05:23 2017
New Revision: 292931

URL: http://llvm.org/viewvc/llvm-project?rev=292931&view=rev
Log:
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.

Modified:
    lldb/trunk/source/Host/common/File.cpp

Modified: lldb/trunk/source/Host/common/File.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/File.cpp?rev=292931&r1=292930&r2=292931&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/File.cpp (original)
+++ lldb/trunk/source/Host/common/File.cpp Tue Jan 24 08:05:23 2017
@@ -19,6 +19,7 @@
 #include "lldb/Host/windows/windows.h"
 #else
 #include <sys/ioctl.h>
+#include <termios.h>
 #endif
 
 #include "llvm/Support/ConvertUTF.h"


_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to