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