summaryrefslogtreecommitdiff
path: root/sql/sql_map.cc
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 /sql/sql_map.cc
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 'sql/sql_map.cc')
-rw-r--r--sql/sql_map.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_map.cc b/sql/sql_map.cc
index 408938e7639..aac44949d89 100644
--- a/sql/sql_map.cc
+++ b/sql/sql_map.cc
@@ -15,10 +15,11 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-#include "mysql_priv.h"
#ifdef USE_PRAGMA_IMPLEMENTATION
#pragma implementation // gcc: Class implementation
#endif
+
+#include "mysql_priv.h"
#ifdef HAVE_MMAP
#include <sys/mman.h>
#include <sys/stat.h>