diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-04-23 07:58:00 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-04-23 07:58:00 +0000 |
commit | 0a08619fa7ff51777b62719a6cceac9828b13556 (patch) | |
tree | 6f8016c7b6e8eb1cb90e79f3e4f114b901e9fd1f /kerberos.c | |
parent | 7c921a8f61c0b6f8794459e52a0c3b0a00aa45a4 (diff) | |
download | fetchmail-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.c | 22 |
1 files changed, 4 insertions, 18 deletions
@@ -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 |