diff options
author | Sergei Krivonos <sergeikrivonos@gmail.com> | 2021-10-29 13:32:32 +0300 |
---|---|---|
committer | Sergei Krivonos <sergeikrivonos@gmail.com> | 2021-10-30 18:31:55 +0300 |
commit | 59a92927fdf11394c79662521d5836f7b3b28bc9 (patch) | |
tree | 9cced5d2365261f2124aa95e33a732aa82e6a420 | |
parent | d352bc5b6772f735a7e4bc540f578e0efc280e71 (diff) | |
download | mariadb-git-59a92927fdf11394c79662521d5836f7b3b28bc9.tar.gz |
MDEV-19129: Xcode compatibility update: #include <editline/readline.h> path
-rw-r--r-- | client/mysql.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client/mysql.cc b/client/mysql.cc index 5db52a3ef36..3a21080ad88 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -90,7 +90,11 @@ extern "C" { #if defined(__WIN__) #include <conio.h> #else -#include <readline.h> +# ifdef __APPLE__ +# include <editline/readline.h> +# else +# include <readline.h> +# endif #if !defined(USE_LIBEDIT_INTERFACE) #include <history.h> #endif |