]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Take 2 of the FD_SETSIZE redefined fix.. eleminate the need of squid.h
authorhno <>
Thu, 11 May 2006 03:03:04 +0000 (03:03 +0000)
committerhno <>
Thu, 11 May 2006 03:03:04 +0000 (03:03 +0000)
completely (was only needed for definition of NULL which isn't needed in C++)

src/HttpRequestMethod.h

index fd5b6741d7dd7b0c40f62816059a6c9f848df275..9bb04ac7ba2c20356d18e7b9c91b4a9184522d2e 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: HttpRequestMethod.h,v 1.2 2006/05/10 20:39:35 hno Exp $
+ * $Id: HttpRequestMethod.h,v 1.3 2006/05/10 21:03:04 hno Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -34,9 +34,6 @@
 #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 {
@@ -115,7 +112,7 @@ public:
 
     HttpRequestMethod(method_t const aMethod) : theMethod(aMethod) {}
 
-    HttpRequestMethod(char const * begin, char const * end=NULL);
+    HttpRequestMethod(char const * begin, char const * end=0);
 
     operator method_t() const {return theMethod; }