]> Pileus Git - ~andy/fetchmail/blobdiff - gssapi.c
Fix typo repsonsible -> responsible.
[~andy/fetchmail] / gssapi.c
index 716db317f9982b11c87080940bf9cf293cc09331..95d631b87c2e6e4db3e2f9ec774554daac89e4f6 100644 (file)
--- a/gssapi.c
+++ b/gssapi.c
@@ -8,13 +8,11 @@
 #include  <stdio.h>
 #include  <string.h>
 #include  <ctype.h>
-#if defined(STDC_HEADERS)
 #include  <stdlib.h>
-#endif
 #include  "fetchmail.h"
 #include  "socket.h"
 
-#include  "i18n.h"
+#include  "gettext.h"
 #include "fm_md5.h"
 
 #include <sys/types.h>
@@ -33,7 +31,7 @@
 #  ifdef HAVE_GSSAPI_GSSAPI_GENERIC_H
 #    include <gssapi/gssapi_generic.h>
 #  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);