]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Wrap kerberos helper headers per Squid requirement. change internal name
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 12 Sep 2009 08:14:26 +0000 (20:14 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 12 Sep 2009 08:14:26 +0000 (20:14 +1200)
helpers/negotiate_auth/kerberos/negotiate_kerberos_auth.cc

index 49ad4c8d404934d854899a2742cf01341f2b44e2..54fae2feb5e74698a74966e9cdf117fffad0aead 100644 (file)
 #include "config.h"
 
 #if HAVE_GSSAPI
+
+#if HAVE_STRING_H
 #include <string.h>
+#endif
+#if HAVE_STDOI_H
 #include <stdio.h>
+#endif
+#if HAVE_STDLIB_H
 #include <stdlib.h>
+#endif
+#if HAVE_NETDB_H
 #include <netdb.h>
+#endif
+#if HAVE_UNISTD_H
 #include <unistd.h>
+#endif
+#if HAVE_TIME_H
 #include <time.h>
+#endif
+#if HAVE_SYS_TIME_H
 #include <sys/time.h>
+#endif
 
-#include "getaddrinfo.h"
-#include "getnameinfo.h"
 #include "util.h"
-
 #include "base64.h"
 #if !HAVE_SPNEGO
 #include "spnegohelp.h"
@@ -72,7 +84,7 @@
 #define gss_nt_service_name GSS_C_NT_HOSTBASED_SERVICE
 #endif
 
-#define PROGRAM "squid_kerb_auth"
+#define PROGRAM "negotiate_kerberos_auth"
 
 #ifndef MAX_AUTHTOKEN_LEN
 #define MAX_AUTHTOKEN_LEN   65535