summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test.hpp b/tests/test.hpp
index f88c909..de47cc8 100644
--- a/tests/test.hpp
+++ b/tests/test.hpp
@@ -5,6 +5,10 @@
#include <setjmp.h>
+#ifndef PUGIXML_NO_EXCEPTIONS
+#include <exception>
+#endif
+
struct test_runner
{
test_runner(const char* name)