diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-12-11 18:09:46 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-12-11 18:09:46 +0000 |
commit | 9c8bba9072e97fabdeb0fc546002eb953962e51e (patch) | |
tree | 46566505a09d362f1d6ad0f6a10132486c02d556 | |
parent | 6b50824701dc812514fa176ed3713d0b8a280428 (diff) | |
download | fetchmail-9c8bba9072e97fabdeb0fc546002eb953962e51e.tar.gz fetchmail-9c8bba9072e97fabdeb0fc546002eb953962e51e.tar.bz2 fetchmail-9c8bba9072e97fabdeb0fc546002eb953962e51e.zip |
Changes for NEXTSTEP.
svn path=/trunk/; revision=626
-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> |