summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorSergei Krivonos <sergeikrivonos@gmail.com>2021-10-29 13:32:32 +0300
committerSergei Krivonos <sergeikrivonos@gmail.com>2021-10-31 00:24:26 +0300
commit0c77c5f6e778bca0823b5029ce2d801b506afec1 (patch)
treeacacc778f8417ae99092611c84a2db0952b05726 /client
parent5d6f3cebca77ee650e6cde3bd738d1fac0a8110c (diff)
downloadmariadb-git-0c77c5f6e778bca0823b5029ce2d801b506afec1.tar.gz
MDEV-19129: Xcode compatibility update: #include <editline/readline.h> path
Diffstat (limited to 'client')
-rw-r--r--client/mysql.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index cd2c37972bc..177d0f60757 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
#define HAVE_READLINE
#define USE_POPEN
#endif