summaryrefslogtreecommitdiff
path: root/sql/sql_string.cc
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-06-05 19:38:52 +0200
committerunknown <serg@serg.mylan>2005-06-05 19:38:52 +0200
commit062a1b8b4e09c6de8ab592d37567d40d13798875 (patch)
tree550377a80809b332035bbee0c834c1909c73047e /sql/sql_string.cc
parentd6e0883b070cbb66a3dc94384816835964025aba (diff)
downloadmariadb-git-062a1b8b4e09c6de8ab592d37567d40d13798875.tar.gz
a compiler must see '#pragma implementation' *before*
'#pragma interface' (that comes with the #include'd header file)
Diffstat (limited to 'sql/sql_string.cc')
-rw-r--r--sql/sql_string.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_string.cc b/sql/sql_string.cc
index 983c2d90a1d..ab2db4aaf53 100644
--- a/sql/sql_string.cc
+++ b/sql/sql_string.cc
@@ -16,10 +16,11 @@
/* This file is originally from the mysql distribution. Coded by monty */
-#include <my_global.h>
#ifdef USE_PRAGMA_IMPLEMENTATION
#pragma implementation // gcc: Class implementation
#endif
+
+#include <my_global.h>
#include <my_sys.h>
#include <m_string.h>
#include <m_ctype.h>