diff --git a/minmax/test/minmax_element_test.cpp b/minmax/test/minmax_element_test.cpp index 96844b6..8758f12 100644 --- a/minmax/test/minmax_element_test.cpp +++ b/minmax/test/minmax_element_test.cpp @@ -11,6 +11,7 @@ #include #include #include +#include #include /* prevents some nasty warns in MSVC */ #include @@ -226,6 +227,10 @@ void test(int n BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(Value)) int test_main( int argc, char* argv[] ) { +#ifndef BOOST_NO_STDC_NAMESPACE + using std::atoi; +#endif + int n = 100; if (argc > 1) n = atoi(argv[1]);