aboutsummaryrefslogtreecommitdiffstats
path: root/daemon.c
diff options
context:
space:
mode:
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