summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2001-11-10 00:50:10 +0000
committerDavid Schleef <ds@schleef.org>2001-11-10 00:50:10 +0000
commit577acda65c42ea3570dd4bb94ed6ab086891b49b (patch)
tree43b62f4173368bdbb64178f24d4c97a664374ea0 /libc/sysdeps/linux
parent1efa30ade88be68fcc0430967e7483267703a2ae (diff)
Added winsize structure from before glibc-2.2.4 update
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/powerpc/bits/termios.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/powerpc/bits/termios.h b/libc/sysdeps/linux/powerpc/bits/termios.h
index 758684824..a1cea1df1 100644
--- a/libc/sysdeps/linux/powerpc/bits/termios.h
+++ b/libc/sysdeps/linux/powerpc/bits/termios.h
@@ -26,6 +26,13 @@ typedef unsigned int tcflag_t;
/* note: this is fixed to be the same as the kernel, not glibc */
+struct winsize {
+ unsigned short int ws_row;
+ unsigned short int ws_col;
+ unsigned short int ws_xpixel;
+ unsigned short int ws_ypixel;
+};
+
#define NCCS 19
struct termios {
tcflag_t c_iflag; /* input mode flags */