summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-09-10 10:17:42 +0000
committerRoland McGrath <roland@gnu.org>1994-09-10 10:17:42 +0000
commit0fc4d6596dd32bbaf7b88f5b29f72cbe588a1644 (patch)
tree96a98ecef2b5721271915815f16e1a79472bda18
parent78a9b85f5fccdbba49edd35fbc2531d9b042b1ff (diff)
entered into RCS
-rw-r--r--hurd/ioctl_types.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/hurd/ioctl_types.h b/hurd/ioctl_types.h
index ec73439f..ddce16b8 100644
--- a/hurd/ioctl_types.h
+++ b/hurd/ioctl_types.h
@@ -15,6 +15,10 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-typedef int modes_t[4], speeds_t[2];
-typedef short sizes_t[4];
-typedef char ccs_t[20];
+#include <termios.h>
+typedef tcflag_t modes_t[4];
+typedef speed_t speeds_t[2];
+typedef cc_t ccs_t[NCCS];
+
+#include <sys/ioctl.h>
+typedef struct winsize winsize_t;