# HG changeset patch # User Chris Cannam # Date 1539269717 -3600 # Node ID 5f91094e5680d133b620b5246567f777cc15ca37 # Parent 51a8fe0a03cf7e9167467fd64f5e20eec8ab1bce Ensure runtime_error is declared diff -r 51a8fe0a03cf -r 5f91094e5680 src/helper.cpp --- a/src/helper.cpp Tue Oct 02 11:55:03 2018 +0100 +++ b/src/helper.cpp Thu Oct 11 15:55:17 2018 +0100 @@ -90,6 +90,7 @@ #include #include +#include #ifdef _WIN32 #ifndef UNICODE @@ -297,7 +298,8 @@ #endif if (normalFd < 0 || suspendedFd < 0) { - throw runtime_error("Failed to initialise fds for stdio suspend/resume"); + throw std::runtime_error + ("Failed to initialise fds for stdio suspend/resume"); } }