summaryrefslogtreecommitdiff
path: root/sql/mdl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/mdl.cc')
-rw-r--r--sql/mdl.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/mdl.cc b/sql/mdl.cc
index ce6e64791b7..3ba006a63a7 100644
--- a/sql/mdl.cc
+++ b/sql/mdl.cc
@@ -30,6 +30,9 @@
#include <mysql/psi/mysql_mdl.h>
#include <algorithm>
#include <array>
+#ifdef WITH_WSREP
+#include "wsrep_mysqld.h"
+#endif
static PSI_memory_key key_memory_MDL_context_acquire_locks;