From: hno <> Date: Thu, 11 May 2006 02:39:35 +0000 (+0000) Subject: Fix include order to make sure config.h is always first (indirectly via squid.h) X-Git-Tag: SQUID_3_0_PRE4~162 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b5aaf98acb83febf559a65d7c049bfa81a315cf9;p=thirdparty%2Fsquid.git Fix include order to make sure config.h is always first (indirectly via squid.h) --- diff --git a/src/HttpRequestMethod.h b/src/HttpRequestMethod.h index d19c91f783..fd5b6741d7 100644 --- a/src/HttpRequestMethod.h +++ b/src/HttpRequestMethod.h @@ -1,6 +1,6 @@ /* - * $Id: HttpRequestMethod.h,v 1.1 2006/05/08 23:38:33 robertc Exp $ + * $Id: HttpRequestMethod.h,v 1.2 2006/05/10 20:39:35 hno Exp $ * * * SQUID Web Proxy Cache http://www.squid-cache.org/ @@ -34,6 +34,9 @@ #ifndef SQUID_HTTPREQUESTMETHOD_H #define SQUID_HTTPREQUESTMETHOD_H +/* For the definition of NULL. Needs to go before any other includes */ +#include "squid.h" + #include enum _method_t { @@ -89,9 +92,6 @@ enum _method_t { typedef enum _method_t method_t; -/* For the definition of NULL */ -#include "squid.h" - extern const char *RequestMethodStr[]; /* forward decls */