X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gssapi.c;h=95d631b87c2e6e4db3e2f9ec774554daac89e4f6;hb=9c5aa38035005272a381fb280781efd1a2199c90;hp=716db317f9982b11c87080940bf9cf293cc09331;hpb=488c70f09ead76e1fdd38475387bd3f448def3f1;p=~andy%2Ffetchmail diff --git a/gssapi.c b/gssapi.c index 716db317..95d631b8 100644 --- a/gssapi.c +++ b/gssapi.c @@ -8,13 +8,11 @@ #include #include #include -#if defined(STDC_HEADERS) #include -#endif #include "fetchmail.h" #include "socket.h" -#include "i18n.h" +#include "gettext.h" #include "fm_md5.h" #include @@ -33,7 +31,7 @@ # ifdef HAVE_GSSAPI_GSSAPI_GENERIC_H # include # endif -# ifndef HAVE_GSS_C_NT_HOSTBASED_SERVICE +# if HAVE_DECL_GSS_C_NT_HOSTBASED_SERVICE + 0 == 0 # define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name # endif # endif @@ -58,7 +56,7 @@ static void decode_subr(const char *m, uint32_t code, int type, FILE *ostrm) } while(context); } -static void decode_status(const char *m, uint32_t major, uint32_t minor,m +static void decode_status(const char *m, uint32_t major, uint32_t minor, FILE *ostrm) { decode_subr(m, major, GSS_C_GSS_CODE, ostrm);