summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;