aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/sys/termios.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-01-31 10:59:36 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-01-31 10:59:36 -0800
commit4cca0de78b08fac283390274521a7af83c7cf63a (patch)
treef90ef48f3cbfe9229d7238d359d9be5081a66aeb /system/include/libc/sys/termios.h
parent986d21a21dc31040269c9ad8ce8b04a96f6d18ee (diff)
header fixes for building python from source
Diffstat (limited to 'system/include/libc/sys/termios.h')
-rw-r--r--system/include/libc/sys/termios.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/include/libc/sys/termios.h b/system/include/libc/sys/termios.h
index 14174a43..88e8ad16 100644
--- a/system/include/libc/sys/termios.h
+++ b/system/include/libc/sys/termios.h
@@ -262,6 +262,14 @@ __END_DECLS
#endif /* !KERNEL */
+/* XXX Emscripten */
+struct winsize {
+ unsigned short ws_row;
+ unsigned short ws_col;
+ unsigned short ws_xpixel;
+ unsigned short ws_ypixel;
+};
+
/*
* END OF PROTECTED INCLUDE.
*/