]> Pileus Git - ~andy/fetchmail/commitdiff
Make sure we never have to include sgtty.h.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 13 Jul 1997 01:05:34 +0000 (01:05 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 13 Jul 1997 01:05:34 +0000 (01:05 -0000)
svn path=/trunk/; revision=1170

daemon.c

index 941017b1ec7e24ffdbbde47c88a10d2bb10cd871..e3a5d39b98812073aef44d8d025ba6e056f1a636 100644 (file)
--- a/daemon.c
+++ b/daemon.c
 #include <unix.h>
 #endif
 
+#if defined(HAVE_TERMIOS_H)
+#  include <termios.h>         /* for TIOCNOTTY under Linux */
+#endif
+
 #if !defined(TIOCNOTTY) && defined(HAVE_SGTTY_H)
 #  include <sgtty.h>           /* for TIOCNOTTY under NEXTSTEP */
 #endif