diff --git a/test/captures/captures_test.cpp b/test/captures/captures_test.cpp index 3ea7f415..63f58c9c 100644 --- a/test/captures/captures_test.cpp +++ b/test/captures/captures_test.cpp @@ -20,6 +20,7 @@ #include #include "../test_macros.hpp" #include +#include #ifdef BOOST_HAS_ICU #include @@ -38,7 +39,7 @@ int array_size(const char* (&p)[N]) std::wstring make_wstring(const char* p) { - return std::wstring(p, p + strlen(p)); + return std::wstring(p, p + std::strlen(p)); } #ifdef __sgi