summarylogtreecommitdiffstats
path: root/std-runtimeerror.patch
blob: bf38c1689acdbc808c9ef9e0f3054266fb3a6e41 (plain)
1
2
3
4
5
6
7
8
9
10
11
diff --unified --recursive --text a/osm2pgsql/src/pgsql.cpp b/osm2pgsql/src/pgsql.cpp
--- a/osm2pgsql/src/pgsql.cpp	2020-07-04 14:44:32.549937439 +0300
+++ b/osm2pgsql/src/pgsql.cpp	2020-07-04 14:43:12.343270778 +0300
@@ -3,6 +3,7 @@
 
 #include <cstdarg>
 #include <cstdio>
+#include <stdexcept>
 
 pg_conn_t::pg_conn_t(std::string const &conninfo)
 : m_conn(PQconnectdb(conninfo.c_str()))