From 807912915b065225c55bf0ac0277cb71fc394e6d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 27 May 1996 20:16:19 +0000 Subject: * sysdeps/unix/sysv/linux/Makefile [$(subdir)=termios] (headers): Append termio.h. * Makefile ($(includedir)/stubs.h): Print a msg if we do nothing. * misc/sgtty.h: Add forward decl of struct sgttyb in case it is never defined. * sysdeps/unix/sysv/linux/termio.h: New file. * sysdeps/unix/sysv/linux/Dist: Add it. * sysdeps/unix/sysv/linux/ioctl-types.h: New file, wrapper around kernel header . * misc/Makefile (headers): Add ioctl-types.h. * sysdeps/generic/ioctl-types.h: New file. * misc/sys/ioctl.h: Include . (struct tchars, struct ltchars, struct sgttyb, struct winsize, struct ttysize): Types moved there. --- misc/sgtty.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'misc/sgtty.h') diff --git a/misc/sgtty.h b/misc/sgtty.h index 00d13a4417..29acb59292 100644 --- a/misc/sgtty.h +++ b/misc/sgtty.h @@ -22,6 +22,10 @@ Cambridge, MA 02139, USA. */ #include +/* On some systems this type is not defined by ; + in that case, the functions are just stubs that return ENOSYS. */ +struct sgttyb; + __BEGIN_DECLS /* Fill in *PARAMS with terminal parameters associated with FD. */ -- cgit v1.2.3