From: Amos Jeffries Date: Thu, 23 Jul 2009 13:07:48 +0000 (+1200) Subject: Fix NCSA auth helper include sequence and wrapping X-Git-Tag: SQUID_3_0_STABLE17~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1eb3f3ac5662c509a1e70b5e20091127cd5da5b;p=thirdparty%2Fsquid.git Fix NCSA auth helper include sequence and wrapping --- diff --git a/helpers/basic_auth/NCSA/crypt_md5.c b/helpers/basic_auth/NCSA/crypt_md5.c index d342fcedc4..31287dc83a 100644 --- a/helpers/basic_auth/NCSA/crypt_md5.c +++ b/helpers/basic_auth/NCSA/crypt_md5.c @@ -14,12 +14,16 @@ * Origin: Id: crypt.c,v 1.3 1995/05/30 05:42:22 rgrimes Exp * */ +#include "config.h" +#if HAVE_STRING_H #include +#endif +#if HAVE_STDIO_H #include -#include "config.h" -#include "md5.h" +#endif +#include "md5.h" #include "crypt_md5.h" static unsigned char itoa64[] = /* 0 ... 63 => ascii - 64 */ diff --git a/helpers/basic_auth/NCSA/ncsa_auth.c b/helpers/basic_auth/NCSA/ncsa_auth.c index 7d690515d7..68bf4dbd6a 100644 --- a/helpers/basic_auth/NCSA/ncsa_auth.c +++ b/helpers/basic_auth/NCSA/ncsa_auth.c @@ -18,6 +18,7 @@ */ #include "config.h" + #if HAVE_STDIO_H #include #endif