summaryrefslogtreecommitdiff
path: root/sql/derror.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/derror.cc')
-rw-r--r--sql/derror.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/sql/derror.cc b/sql/derror.cc
index 8e47dda7bbe..04a82860d45 100644
--- a/sql/derror.cc
+++ b/sql/derror.cc
@@ -21,8 +21,13 @@
Read language depeneded messagefile
*/
-#include "mysql_priv.h"
+#include "sql_priv.h"
+#include "unireg.h"
+#include "derror.h"
#include "mysys_err.h"
+#include "mysqld.h" // lc_messages_dir
+#include "derror.h" // read_texts
+#include "sql_class.h" // THD
static void init_myfunc_errs(void);