aboutsummaryrefslogtreecommitdiffstats
path: root/daemon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-07-13 01:05:34 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-07-13 01:05:34 +0000
commitea61cce40bc6edb215f4bfc98acba73dc711159e (patch)
tree85ef17873662122d9a44926aeeb10a81c3784cdd /daemon.c
parentee967d2ca5c4669ba1277dd6e1329f7e5d043cd8 (diff)
downloadfetchmail-ea61cce40bc6edb215f4bfc98acba73dc711159e.tar.gz
fetchmail-ea61cce40bc6edb215f4bfc98acba73dc711159e.tar.bz2
fetchmail-ea61cce40bc6edb215f4bfc98acba73dc711159e.zip
Make sure we never have to include sgtty.h.
svn path=/trunk/; revision=1170
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/daemon.c b/daemon.c
index 941017b1..e3a5d39b 100644
--- a/daemon.c
+++ b/daemon.c
@@ -31,6 +31,10 @@
#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