aboutsummaryrefslogtreecommitdiffstats
path: root/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon.c b/daemon.c
index 985fe65b..941017b1 100644
--- a/daemon.c
+++ b/daemon.c
@@ -31,7 +31,7 @@
#include <unix.h>
#endif
-#if defined(HAVE_SGTTY_H)
+#if !defined(TIOCNOTTY) && defined(HAVE_SGTTY_H)
# include <sgtty.h> /* for TIOCNOTTY under NEXTSTEP */
#endif