vcpkg/ports/replxx/add-stdexcept.patch
Billy O'Neal cff57958e7
[replxx] Add missing header <stdexcept> needed to name std::runtime_error for replxx. (#11571)
* [replxx] Add missing header <stdexcept> needed to name std::runtime_error for replxx.

Already applied upstream as 723d9c8486

* Bump version.
2020-05-26 21:03:19 -07:00

18 lines
330 B
Diff

diff --git a/src/io.cxx b/src/io.cxx
index a098867..6159e4b 100644
--- a/src/io.cxx
+++ b/src/io.cxx
@@ -2,6 +2,7 @@
#include <cerrno>
#include <cstdlib>
#include <cstring>
+#include <stdexcept>
#include <array>
#ifdef _WIN32
@@ -671,4 +672,3 @@ int Terminal::read_verbatim( char32_t* buffer_, int size_ ) {
#endif
}
-