diff --git a/tests/datetime/datetimetest.cpp b/tests/datetime/datetimetest.cpp index 24f554e37b..8fed158607 100644 --- a/tests/datetime/datetimetest.cpp +++ b/tests/datetime/datetimetest.cpp @@ -23,6 +23,7 @@ #if wxUSE_DATETIME #include "wx/datetime.h" +#include "wx/wxcrt.h" // for wxStrstr() // need this to be able to use CPPUNIT_ASSERT_EQUAL with wxDateTime objects static std::ostream& operator<<(std::ostream& ostr, const wxDateTime& dt)