aboutsummaryrefslogtreecommitdiff
path: root/ports/replxx/add-stdexcept.patch
blob: 51fe01447f0dd084d68b5338a6c18e8e5d3d44a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
 
 }
-