diff options
-rw-r--r-- | daemon.c | 8 | ||||
-rw-r--r-- | fetchmail.c | 4 | ||||
-rw-r--r-- | mxget.c | 1 |
3 files changed, 13 insertions, 0 deletions
@@ -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 diff --git a/fetchmail.c b/fetchmail.c index 617090e0..3dece2be 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -26,6 +26,10 @@ #include <sys/stat.h> #include <sys/wait.h> +#ifdef NeXT +# define pid_t int +#endif + #ifdef HAVE_GETHOSTBYNAME #include <netdb.h> #endif /* HAVE_GETHOSTBYNAME */ @@ -8,6 +8,7 @@ #include "config.h" #ifdef HAVE_RES_SEARCH +#include <stdio.h> #include <netdb.h> #include <sys/types.h> #include <netinet/in.h> |