From ea61cce40bc6edb215f4bfc98acba73dc711159e Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 13 Jul 1997 01:05:34 +0000 Subject: Make sure we never have to include sgtty.h. svn path=/trunk/; revision=1170 --- daemon.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'daemon.c') diff --git a/daemon.c b/daemon.c index 941017b1..e3a5d39b 100644 --- a/daemon.c +++ b/daemon.c @@ -31,6 +31,10 @@ #include #endif +#if defined(HAVE_TERMIOS_H) +# include /* for TIOCNOTTY under Linux */ +#endif + #if !defined(TIOCNOTTY) && defined(HAVE_SGTTY_H) # include /* for TIOCNOTTY under NEXTSTEP */ #endif -- cgit v1.2.3