aboutsummaryrefslogtreecommitdiffstats
path: root/mxget.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-04-08 06:59:47 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-04-08 06:59:47 +0000
commit2065c80c50dcd792d299ec7b4ab4887e1cb67768 (patch)
treeb3dba7aeb673cbd762d620740aec69b727b21e20 /mxget.c
parent8b999451bf2396e11fc2ff9560e2dc8ef127bfd6 (diff)
downloadfetchmail-2065c80c50dcd792d299ec7b4ab4887e1cb67768.tar.gz
fetchmail-2065c80c50dcd792d299ec7b4ab4887e1cb67768.tar.bz2
fetchmail-2065c80c50dcd792d299ec7b4ab4887e1cb67768.zip
BeOS support.
svn path=/trunk/; revision=2866
Diffstat (limited to 'mxget.c')
-rw-r--r--mxget.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/mxget.c b/mxget.c
index 64e88f78..3bb6cd8c 100644
--- a/mxget.c
+++ b/mxget.c
@@ -9,11 +9,24 @@
#ifdef HAVE_RES_SEARCH
#include <stdio.h>
#include <string.h>
+#ifdef HAVE_NET_SOCKET_H
+#include <net/socket.h>
+#endif
#include <netdb.h>
#include <sys/types.h>
#include <netinet/in.h>
+
+#ifdef __BEOS__
+#include "beos/beos_nameser.h"
+#endif
+
+#ifdef HAVE_ARPA_NAMESER_H
#include <arpa/nameser.h>
+#endif
+#ifdef HAVE_RESOLV_H
#include <resolv.h>
+#endif
+
#include "mx.h"
/*