aboutsummaryrefslogtreecommitdiffstats
path: root/daemon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-12-11 18:09:46 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-12-11 18:09:46 +0000
commit9c8bba9072e97fabdeb0fc546002eb953962e51e (patch)
tree46566505a09d362f1d6ad0f6a10132486c02d556 /daemon.c
parent6b50824701dc812514fa176ed3713d0b8a280428 (diff)
downloadfetchmail-9c8bba9072e97fabdeb0fc546002eb953962e51e.tar.gz
fetchmail-9c8bba9072e97fabdeb0fc546002eb953962e51e.tar.bz2
fetchmail-9c8bba9072e97fabdeb0fc546002eb953962e51e.zip
Changes for NEXTSTEP.
svn path=/trunk/; revision=626
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/daemon.c b/daemon.c
index 97e362be..853094d9 100644
--- a/daemon.c
+++ b/daemon.c
@@ -26,6 +26,14 @@
#include <unix.h>
#endif
+#if defined(HAVE_SGTTY_H)
+# include <sgtty.h> /* for TIOCNOTTY under NEXTSTEP */
+#endif
+
+#ifdef NeXT
+# define pid_t int
+#endif
+
/* BSD portability hack */
#if !defined(SIGCLD) && defined(SIGCHLD)
#define SIGCLD SIGCHLD