# HG changeset patch # User Chris Cannam # Date 1558090423 -3600 # Node ID 9ec3f123f1fbe27e69d035a2f3761efc405f1e96 # Parent 83cb6e9d769b0832b6cbbff4a0f583b314c02695 Build fixes diff -r 83cb6e9d769b -r 9ec3f123f1fb data/fileio/test/UnsupportedFormat.cpp --- a/data/fileio/test/UnsupportedFormat.cpp Fri May 17 11:05:10 2019 +0100 +++ b/data/fileio/test/UnsupportedFormat.cpp Fri May 17 11:53:43 2019 +0100 @@ -18,6 +18,8 @@ #include #endif +#include + bool UnsupportedFormat::isLegitimatelyUnsupported(QString format) { @@ -36,7 +38,7 @@ RtlGetVersion(&osInfo); if (osInfo.wProductType != VER_NT_WORKSTATION) { - cerr << "NOTE: We appear to be running on Windows Server (wProductType = " << osInfo.wProductType << ") - assuming encumbered media codecs might not be installed and being lenient about them" << endl; + std::cerr << "NOTE: We appear to be running on Windows Server (wProductType = " << osInfo.wProductType << ") - assuming encumbered media codecs might not be installed and being lenient about them" << std::endl; return (format == "aac" || format == "apple_lossless" || format == "m4a" || @@ -44,7 +46,8 @@ } } else { - cerr << "WARNING: Failed to find RtlGetVersion in NTDLL" << endl; + std::cerr << "WARNING: Failed to find RtlGetVersion in NTDLL" + << std::endl; } return (format == "apple_lossless");