diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-11-09 08:40:14 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-11-09 08:40:14 +0200 |
commit | 47ab793d71f2755b026672e4657174a1740b6ae2 (patch) | |
tree | 919aa71c2f31dbafa84a0e3b5fdf61f8d23afd3a /client | |
parent | de2fa9eced796a38bf2a194f35589f6eef814483 (diff) | |
parent | 524b4a89da3d9143ad72a82d73617ffde9e3a7a8 (diff) | |
download | mariadb-git-47ab793d71f2755b026672e4657174a1740b6ae2.tar.gz |
Merge 10.3 into 10.4
Diffstat (limited to 'client')
-rw-r--r-- | client/mysql.cc | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/client/mysql.cc b/client/mysql.cc index 5db52a3ef36..d16ae4471d7 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -1,6 +1,6 @@ /* Copyright (c) 2000, 2018, Oracle and/or its affiliates. - Copyright (c) 2009, 2019, MariaDB Corporation. + Copyright (c) 2009, 2021, MariaDB Corporation. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -90,10 +90,14 @@ extern "C" { #if defined(__WIN__) #include <conio.h> #else -#include <readline.h> -#if !defined(USE_LIBEDIT_INTERFACE) -#include <history.h> -#endif +# ifdef __APPLE__ +# include <editline/readline.h> +# else +# include <readline.h> +# if !defined(USE_LIBEDIT_INTERFACE) +# include <history.h> +# endif +# endif #define HAVE_READLINE #define USE_POPEN #endif |