]> Pileus Git - ~andy/fetchmail/commitdiff
Inclusion cleanup.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 16 Sep 1997 16:14:22 +0000 (16:14 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 16 Sep 1997 16:14:22 +0000 (16:14 -0000)
svn path=/trunk/; revision=1350

daemon.c

index 1335ef1a60256f039ca43f0946ee2816e6a369bc..7ca19ff8b114dfacdfab443525c378b3cfc31c02 100644 (file)
--- 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)