diff --git a/boost/test/impl/execution_monitor.ipp b/boost/test/impl/execution_monitor.ipp index f4d05c1322..a80c52cd7e 100644 --- a/boost/test/impl/execution_monitor.ipp +++ b/boost/test/impl/execution_monitor.ipp @@ -53,17 +53,12 @@ namespace std { using ::strerror; using ::strlen; using ::strncat; } #endif // to use vsnprintf -#if defined(__SUNPRO_CC) || defined(__SunOS) +#if defined(__SUNPRO_CC) || defined(__SunOS) || defined(__QNXNTO__) # include # include using std::va_list; #endif -// to use vsnprintf -#if defined(__QNXNTO__) -# include -#endif - #if defined(_WIN32) && !defined(BOOST_DISABLE_WIN32) && \ (!defined(__COMO__) && !defined(__MWERKS__) && !defined(__GNUC__) || \ BOOST_WORKAROUND(__MWERKS__, >= 0x3000))