summaryrefslogtreecommitdiff
path: root/sql/sp_head.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sp_head.h')
-rw-r--r--sql/sp_head.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/sp_head.h b/sql/sp_head.h
index d1e152765f2..165f88321a9 100644
--- a/sql/sp_head.h
+++ b/sql/sp_head.h
@@ -21,6 +21,15 @@
#pragma interface /* gcc class implementation */
#endif
+/*
+ It is necessary to include set_var.h instead of item.h because there
+ are dependencies on include order for set_var.h and item.h. This
+ will be resolved later.
+*/
+#include "my_global.h" /* NO_EMBEDDED_ACCESS_CHECKS */
+#include "sql_class.h" // THD, set_var.h: THD
+#include "set_var.h" // Item
+
#include <stddef.h>
/**