summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorserg@serg.mylan <>2005-06-05 19:38:52 +0200
committerserg@serg.mylan <>2005-06-05 19:38:52 +0200
commit6a5349028c229642b45420ca3d991b97429bd6c8 (patch)
tree550377a80809b332035bbee0c834c1909c73047e /client
parentf0233c2e3dd2b06fc2894ed426552fcb771b379b (diff)
downloadmariadb-git-6a5349028c229642b45420ca3d991b97429bd6c8.tar.gz
a compiler must see '#pragma implementation' *before*
'#pragma interface' (that comes with the #include'd header file)
Diffstat (limited to 'client')
-rw-r--r--client/sql_string.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/sql_string.cc b/client/sql_string.cc
index 8f0e46c5eea..690997152f1 100644
--- a/client/sql_string.cc
+++ b/client/sql_string.cc
@@ -16,12 +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>