aboutsummaryrefslogtreecommitdiffstats
path: root/kerberos.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-04-23 07:58:00 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-04-23 07:58:00 +0000
commit0a08619fa7ff51777b62719a6cceac9828b13556 (patch)
tree6f8016c7b6e8eb1cb90e79f3e4f114b901e9fd1f /kerberos.c
parent7c921a8f61c0b6f8794459e52a0c3b0a00aa45a4 (diff)
downloadfetchmail-0a08619fa7ff51777b62719a6cceac9828b13556.tar.gz
fetchmail-0a08619fa7ff51777b62719a6cceac9828b13556.tar.bz2
fetchmail-0a08619fa7ff51777b62719a6cceac9828b13556.zip
More from HH's patch.
svn path=/trunk/; revision=3295
Diffstat (limited to 'kerberos.c')
-rw-r--r--kerberos.c22
1 files changed, 4 insertions, 18 deletions
diff --git a/kerberos.c b/kerberos.c
index 696d3af1..64abd207 100644
--- a/kerberos.c
+++ b/kerberos.c
@@ -4,6 +4,9 @@
* For license terms, see the file COPYING in this directory.
*/
#include "config.h"
+
+#ifdef KERBEROS_V4
+
#include <stdio.h>
#include <string.h>
#include <ctype.h>
@@ -12,28 +15,11 @@
#endif
#include "fetchmail.h"
#include "socket.h"
+#include "kerberos.h"
#include <sys/types.h>
#include <netinet/in.h> /* for htonl/ntohl */
-#ifdef KERBEROS_V4
-
-# ifdef KERBEROS_V5
-# include <kerberosIV/des.h>
-# include <kerberosIV/krb.h>
-# else
-# if defined (__bsdi__)
-# include <des.h>
-# define krb_get_err_text(e) (krb_err_txt[e])
-# endif
-# if defined(__NetBSD__) || (__FreeBSD__) || defined(__linux__)
-# define krb_get_err_text(e) (krb_err_txt[e])
-# endif
-# include <krb.h>
-# endif
-
-/* des.h might define _ for no good reason. */
-#undef _
#include "i18n.h"
#if SIZEOF_INT == 4