summaryrefslogtreecommitdiff
blob: c474028e7e0625992159884bc2f3c23c58119570 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
https://bugs.gentoo.org/895698
https://github.com/MariaDB/server/commit/75bbf645a66db797be2abd3a348dce32eb753acc

From 75bbf645a66db797be2abd3a348dce32eb753acc Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 24 Jan 2023 21:40:43 -0800
Subject: [PATCH] Add missing include <cstdio>

This is needed with GCC 13 and newer [1]

[1] https://www.gnu.org/software/gcc/gcc-13/porting_to.html

Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- a/tpool/aio_linux.cc
+++ b/tpool/aio_linux.cc
@@ -19,6 +19,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 - 1301 USA*/
 #ifdef LINUX_NATIVE_AIO
 # include <thread>
 # include <atomic>
+# include <cstdio>
 # include <libaio.h>
 # include <sys/syscall.h>