summaryrefslogtreecommitdiff
path: root/sql/sql_crypt.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
commit7ceda6b29193b456f351a4fda9b3c6338af97d30 (patch)
tree550377a80809b332035bbee0c834c1909c73047e /sql/sql_crypt.cc
parent0d3de54b904575a840a9e9ccf131251f4447a068 (diff)
downloadmariadb-git-7ceda6b29193b456f351a4fda9b3c6338af97d30.tar.gz
a compiler must see '#pragma implementation' *before*
'#pragma interface' (that comes with the #include'd header file)
Diffstat (limited to 'sql/sql_crypt.cc')
-rw-r--r--sql/sql_crypt.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_crypt.cc b/sql/sql_crypt.cc
index 1cfa0eb8570..f21a109e95d 100644
--- a/sql/sql_crypt.cc
+++ b/sql/sql_crypt.cc
@@ -23,11 +23,12 @@
needs something like 'ssh'.
*/
-#include "mysql_priv.h"
#ifdef USE_PRAGMA_IMPLEMENTATION
#pragma implementation // gcc: Class implementation
#endif
+#include "mysql_priv.h"
+
SQL_CRYPT::SQL_CRYPT(const char *password)
{
ulong rand_nr[2];