python/hypothesis: update to 6.122.3
[oi-userland.git] / components / database / percona-server-57 / patches / 09-add-setlocale-declaration.patch
blob63fa815ee85b79e3a9b65fd28ee7c27b6afc5778
1 --- percona-server-5.7.39-42/client/mysql.cc.1 2022-09-16 13:48:14.940634746 +0000
2 +++ percona-server-5.7.39-42/client/mysql.cc 2022-09-16 13:55:23.168238812 +0000
3 @@ -54,10 +54,6 @@
4 #include <sys/ioctl.h>
5 #endif
7 -#if defined(USE_LIBEDIT_INTERFACE)
8 -#include <locale.h>
9 -#endif
11 #ifdef HAVE_PWD_H
12 #include <pwd.h>
13 #endif
14 @@ -81,6 +77,10 @@
15 #define USE_POPEN
16 #endif
18 +#ifdef HAVE_READLINE
19 +#include <locale.h>
20 +#endif
22 #include <algorithm>
23 #include <sql_common.h>
24 #include <mysqld_error.h>