From 577acda65c42ea3570dd4bb94ed6ab086891b49b Mon Sep 17 00:00:00 2001
From: David Schleef <ds@schleef.org>
Date: Sat, 10 Nov 2001 00:50:10 +0000
Subject: Added winsize structure from before glibc-2.2.4 update

---
 libc/sysdeps/linux/powerpc/bits/termios.h | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'libc/sysdeps')

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 */
-- 
cgit v1.2.3