aboutsummaryrefslogtreecommitdiffstats
path: root/daemon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-09-16 16:14:22 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-09-16 16:14:22 +0000
commit00401d8fb5a1bba90ffd7804db6788ed4833ffdb (patch)
tree00f82736189060dce4ff0275c08bf73bd9698976 /daemon.c
parent38a0022cafb0204f62e6812cee5add94523c0f53 (diff)
downloadfetchmail-00401d8fb5a1bba90ffd7804db6788ed4833ffdb.tar.gz
fetchmail-00401d8fb5a1bba90ffd7804db6788ed4833ffdb.tar.bz2
fetchmail-00401d8fb5a1bba90ffd7804db6788ed4833ffdb.zip
Inclusion cleanup.
svn path=/trunk/; revision=1350
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon.c b/daemon.c
index 1335ef1a..7ca19ff8 100644
--- a/daemon.c
+++ b/daemon.c
@@ -32,6 +32,7 @@
#include <unix.h>
#endif
+#if !defined(HAVE_SETSID) && defined(SIGTSTP)
#if defined(HAVE_TERMIOS_H)
# include <termios.h> /* for TIOCNOTTY under Linux */
#endif
@@ -39,6 +40,7 @@
#if !defined(TIOCNOTTY) && defined(HAVE_SGTTY_H)
# include <sgtty.h> /* for TIOCNOTTY under NEXTSTEP */
#endif
+#endif /* !defined(HAVE_SETSID) && defined(SIGTSTP) */
/* BSD portability hack */
#if !defined(SIGCHLD) && defined(SIGCLD)