summaryrefslogtreecommitdiff
path: root/sql/key.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/key.cc')
-rw-r--r--sql/key.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/key.cc b/sql/key.cc
index 93197ec4ff5..d593850ca10 100644
--- a/sql/key.cc
+++ b/sql/key.cc
@@ -16,7 +16,10 @@
/* Functions to handle keys and fields in forms */
-#include "mysql_priv.h"
+#include "sql_priv.h"
+#include "unireg.h" // REQUIRED: by includes later
+#include "key.h" // key_rec_cmp
+#include "field.h" // Field
/*
Search after a key that starts with 'field'