Browse Source

Added winsize structure from before glibc-2.2.4 update

David Schleef 23 years ago
parent
commit
577acda65c
1 changed files with 7 additions and 0 deletions
  1. 7 0
      libc/sysdeps/linux/powerpc/bits/termios.h

+ 7 - 0
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 */