summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Becker <heirecka@exherbo.org>2023-01-24 16:29:17 +0100
committerDaniel Black <daniel@mariadb.org>2023-01-25 17:30:18 +1100
commit15226a2822a84d4ca56c99f236670f0e28ca1e5f (patch)
tree1529bee97f40277fc150f2206b141e8a7fb9bb2a
parentde4030e4d49805a7ded5c0bfee01cc3fd7623522 (diff)
downloadmariadb-git-15226a2822a84d4ca56c99f236670f0e28ca1e5f.tar.gz
Add missing include for std::runtime_error
Fixes the following error when building with gcc 13: "tpool/aio_liburing.cc:64:18: error: 'runtime_error' is not a member of 'std' 64 | throw std::runtime_error("aio_uring()");"
-rw-r--r--tpool/aio_liburing.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tpool/aio_liburing.cc b/tpool/aio_liburing.cc
index 6eff6c313a3..447c2335c74 100644
--- a/tpool/aio_liburing.cc
+++ b/tpool/aio_liburing.cc
@@ -24,6 +24,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 - 1301 USA*/
#include <vector>
#include <thread>
#include <mutex>
+#include <stdexcept>
namespace
{