summaryrefslogtreecommitdiff
path: root/misc/sgtty.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/sgtty.h')
-rw-r--r--misc/sgtty.h4
1 files changed, 4 insertions, 0 deletions
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 <sys/ioctl.h>
+/* On some systems this type is not defined by <ioctl-types.h>;
+ in that case, the functions are just stubs that return ENOSYS. */
+struct sgttyb;
+
__BEGIN_DECLS
/* Fill in *PARAMS with terminal parameters associated with FD. */