]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix include order to make sure config.h is always first (indirectly via squid.h)
authorhno <>
Thu, 11 May 2006 02:39:35 +0000 (02:39 +0000)
committerhno <>
Thu, 11 May 2006 02:39:35 +0000 (02:39 +0000)
src/HttpRequestMethod.h

index d19c91f783e37393f50644aae48af39c44ad6d2e..fd5b6741d7dd7b0c40f62816059a6c9f848df275 100644 (file)
@@ -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 <iosfwd>
 
 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 */