]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/tests/testHttpRequestMethod.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / tests / testHttpRequestMethod.cc
index bb0aea291bcca81a6f6c627f17aeb0fbe377c9cf..a771be0a1c02689d48b8782850e62c2b705fc800 100644 (file)
@@ -1,17 +1,18 @@
-#define SQUID_UNIT_TEST 1 
+#define SQUID_UNIT_TEST 1
 
 #include "squid.h"
-#include <sstream>
 #include <cppunit/TestAssert.h>
 
 #include "Mem.h"
 #include "testHttpRequestMethod.h"
 #include "HttpRequestMethod.h"
 
+#if HAVE_SSTREAM
+#include <sstream>
+#endif
 
 CPPUNIT_TEST_SUITE_REGISTRATION( testHttpRequestMethod );
 
-
 /*
  * We should be able to make an HttpRequestMethod straight from a string.
  */
@@ -26,7 +27,7 @@ testHttpRequestMethod::testConstructCharStart()
 }
 
 /*
- * We can also parse precise ranges of characters 
+ * We can also parse precise ranges of characters
  */
 void
 testHttpRequestMethod::testConstructCharStartEnd()