Fix mac build, part 2.

This commit is contained in:
David Anderson 2020-05-20 23:17:15 -07:00
parent c9f574c27b
commit 032a30f676

View File

@ -43,6 +43,14 @@
#include <my_sys.h> #include <my_sys.h>
#include <mysql.h> #include <mysql.h>
// On macOS, the MySQL includes define min/max.
#if defined(min)
# undef min
#endif
#if defined(max)
# undef max
#endif
#include <sh_string.h> #include <sh_string.h>
#include <sh_list.h> #include <sh_list.h>