summaryrefslogtreecommitdiff
path: root/sql/sql_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_priv.h')
-rw-r--r--sql/sql_priv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_priv.h b/sql/sql_priv.h
index 5dc19181e9b..30fb1a4c29e 100644
--- a/sql/sql_priv.h
+++ b/sql/sql_priv.h
@@ -29,6 +29,10 @@
#ifndef MYSQL_CLIENT
+#ifndef MY_GLOBAL_INCLUDED
+#error "You must include my_global.h first!"
+#endif
+
/*
Generates a warning that a feature is deprecated. After a specified
version asserts that the feature is removed.