From b1eb3f3ac5662c509a1e70b5e20091127cd5da5b Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Fri, 24 Jul 2009 01:07:48 +1200 Subject: [PATCH] Fix NCSA auth helper include sequence and wrapping --- helpers/basic_auth/NCSA/crypt_md5.c | 8 ++++++-- helpers/basic_auth/NCSA/ncsa_auth.c | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) 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 -- 2.47.2