summaryrefslogtreecommitdiff
path: root/src/cppunit
diff options
context:
space:
mode:
Diffstat (limited to 'src/cppunit')
-rw-r--r--src/cppunit/TestCase.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cppunit/TestCase.cpp b/src/cppunit/TestCase.cpp
index f994dca..13c0525 100644
--- a/src/cppunit/TestCase.cpp
+++ b/src/cppunit/TestCase.cpp
@@ -3,9 +3,11 @@
#include <cppunit/Protector.h>
#include <cppunit/TestCase.h>
#include <cppunit/TestResult.h>
-#include <typeinfo>
#include <stdexcept>
+#if CPPUNIT_USE_TYPEINFO_NAME
+# include <typeinfo>
+#endif
CPPUNIT_NS_BEGIN