--------------------- PatchSet 5132 Date: 2007/08/02 11:38:05 Author: amosjeffries Branch: squid3-ipv6 Tag: (none) Log: Compile fixes. Members: helpers/ntlm_auth/SMB/ntlm_auth.c:1.2.8.3->1.2.8.4 lib/tests/testRFC1035.cc:1.1.2.1->1.1.2.2 lib/tests/testRFC1035.h:1.1.2.1->1.1.2.2 Index: squid3/helpers/ntlm_auth/SMB/ntlm_auth.c =================================================================== RCS file: /cvsroot/squid-sf//squid3/helpers/ntlm_auth/SMB/ntlm_auth.c,v retrieving revision 1.2.8.3 retrieving revision 1.2.8.4 diff -u -r1.2.8.3 -r1.2.8.4 --- squid3/helpers/ntlm_auth/SMB/ntlm_auth.c 2 Aug 2007 10:51:45 -0000 1.2.8.3 +++ squid3/helpers/ntlm_auth/SMB/ntlm_auth.c 2 Aug 2007 11:38:05 -0000 1.2.8.4 @@ -50,6 +50,9 @@ #ifdef HAVE_UNISTD_H #include #endif +#ifdef HAVE_ASSERT_H +#include +#endif #ifdef DEBUG char error_messages_buffer[BUFFER_SIZE]; Index: squid3/lib/tests/testRFC1035.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/lib/tests/Attic/testRFC1035.cc,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- squid3/lib/tests/testRFC1035.cc 29 Jun 2007 14:47:10 -0000 1.1.2.1 +++ squid3/lib/tests/testRFC1035.cc 2 Aug 2007 11:38:15 -0000 1.1.2.2 @@ -65,7 +65,7 @@ CPPUNIT_ASSERT(msg == NULL); } -void testRFC1035::testBugPacketEndingOnCompresionPtr() +void testRFC1035::testBugPacketEndingOnCompressionPtr() { /* Setup a buffer with the known-to-fail packet */ const char *buf = "\xec\x7b\x81\x80\x00\x01\x00\x01\x00\x00\x00\x00\x05\x62\x75\x72\x73\x74\x02\x74\x65\x06\x74\x61\x63\x6f\x64\x61\x03\x6e\x65\x74\x00\x00\x1c\x00\x01\xc0\x0c\x00\x05\x00\x01\x00\x00\x19\xe5\x00\x0a\x02\x74\x65\x04\x67\x73\x6c\x62\xc0\x15"; Index: squid3/lib/tests/testRFC1035.h =================================================================== RCS file: /cvsroot/squid-sf//squid3/lib/tests/Attic/testRFC1035.h,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- squid3/lib/tests/testRFC1035.h 29 Jun 2007 14:47:10 -0000 1.1.2.1 +++ squid3/lib/tests/testRFC1035.h 2 Aug 2007 11:38:15 -0000 1.1.2.2 @@ -13,7 +13,7 @@ CPPUNIT_TEST( testHeaderUnpack ); CPPUNIT_TEST( testParseAPacket ); - CPPUNIT_TEST( testBugPacketEndingOnCompresionPtr ); + CPPUNIT_TEST( testBugPacketEndingOnCompressionPtr ); CPPUNIT_TEST_SUITE_END(); public: @@ -23,7 +23,7 @@ void testParseAPacket(); // bugs. - void testBugPacketEndingOnCompresionPtr(); + void testBugPacketEndingOnCompressionPtr(); }; #endif /* SQUID_SRC_TEST_IPADDRESS_H */