aboutsummaryrefslogtreecommitdiffstats
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
parent6b50824701dc812514fa176ed3713d0b8a280428 (diff)
downloadfetchmail-9c8bba9072e97fabdeb0fc546002eb953962e51e.tar.gz
fetchmail-9c8bba9072e97fabdeb0fc546002eb953962e51e.tar.bz2
fetchmail-9c8bba9072e97fabdeb0fc546002eb953962e51e.zip
Changes for NEXTSTEP.
svn path=/trunk/; revision=626
-rw-r--r--daemon.c8
-rw-r--r--fetchmail.c4
-rw-r--r--mxget.c1
3 files changed, 13 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
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 */
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 <stdio.h>
#include <netdb.h>
#include <sys/types.h>
#include <netinet/in.h>