From: Amos Jeffries Date: Fri, 10 Oct 2008 04:21:30 +0000 (+1300) Subject: Author: Alex Rousskov X-Git-Tag: SQUID_3_2_0_1~1422 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2c1e5fd70b22fcfb7bbfcb2e97de99864c2878b7;p=thirdparty%2Fsquid.git Author: Alex Rousskov Fix compile errors with std::exception --- diff --git a/src/ICAP/AsyncJob.h b/src/ICAP/AsyncJob.h index 96a68450c9..c1663a294a 100644 --- a/src/ICAP/AsyncJob.h +++ b/src/ICAP/AsyncJob.h @@ -9,6 +9,7 @@ #include "AsyncCall.h" +#include "TextException.h" /** \defgroup AsyncJobAPI Async-Jobs API @@ -30,8 +31,6 @@ * asynchronous calls. */ -class std::exception; - /// \ingroup AsyncJobAPI class AsyncJob { diff --git a/src/TextException.h b/src/TextException.h index 6e4ae9abb7..27b44b063c 100644 --- a/src/TextException.h +++ b/src/TextException.h @@ -3,6 +3,8 @@ // Origin: xstd/TextException +#include "squid.h" +#include // simple exception to report custom errors // we may want to change the interface to be able to report system errors