]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Alex Rousskov <rousskov@squid-cache.org>
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 10 Oct 2008 04:21:30 +0000 (17:21 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 10 Oct 2008 04:21:30 +0000 (17:21 +1300)
Fix compile errors with std::exception

src/ICAP/AsyncJob.h
src/TextException.h

index 96a68450c9a53d60697e270fafdbdb425a45dafe..c1663a294ac86c00d9989fb9996a5d1f56518010 100644 (file)
@@ -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
 {
index 6e4ae9abb712510620f2ad8bd4798ff9b0d34698..27b44b063cbc91e851d63834088c6190ddfb8f14 100644 (file)
@@ -3,6 +3,8 @@
 
 // Origin: xstd/TextException
 
+#include "squid.h"
+#include <exception>
 
 // simple exception to report custom errors
 // we may want to change the interface to be able to report system errors