From 9c8bba9072e97fabdeb0fc546002eb953962e51e Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 11 Dec 1996 18:09:46 +0000 Subject: Changes for NEXTSTEP. svn path=/trunk/; revision=626 --- daemon.c | 8 ++++++++ fetchmail.c | 4 ++++ mxget.c | 1 + 3 files changed, 13 insertions(+) diff --git a/daemon.c b/daemon.c index 97e362be..853094d9 100644 --- a/daemon.c +++ b/daemon.c @@ -26,6 +26,14 @@ #include #endif +#if defined(HAVE_SGTTY_H) +# include /* for TIOCNOTTY under NEXTSTEP */ +#endif + +#ifdef NeXT +# define pid_t int +#endif + /* BSD portability hack */ #if !defined(SIGCLD) && defined(SIGCHLD) #define SIGCLD SIGCHLD diff --git a/fetchmail.c b/fetchmail.c index 617090e0..3dece2be 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -26,6 +26,10 @@ #include #include +#ifdef NeXT +# define pid_t int +#endif + #ifdef HAVE_GETHOSTBYNAME #include #endif /* HAVE_GETHOSTBYNAME */ diff --git a/mxget.c b/mxget.c index 42ab26fb..ad4e5090 100644 --- a/mxget.c +++ b/mxget.c @@ -8,6 +8,7 @@ #include "config.h" #ifdef HAVE_RES_SEARCH +#include #include #include #include -- cgit v1.2.3