aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/mysql.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-09 09:31:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-09 09:31:53 +0200
commitd3a1c61c2c10d952c7a186d367b42a1ea1b3e946 (patch)
treee41a4f37d10715843aee1a0ac724960ab0b5ebe8 /odb/mysql/mysql.hxx
parentab48e8593260239b432f2e03c9b69a2e83211a77 (diff)
Rework MySQL header inclusion
Diffstat (limited to 'odb/mysql/mysql.hxx')
-rw-r--r--odb/mysql/mysql.hxx15
1 files changed, 10 insertions, 5 deletions
diff --git a/odb/mysql/mysql.hxx b/odb/mysql/mysql.hxx
index 2988870..962eb5a 100644
--- a/odb/mysql/mysql.hxx
+++ b/odb/mysql/mysql.hxx
@@ -1,22 +1,27 @@
-/* file : odb/mysql/mysql.hxx
- * author : Boris Kolpackov <boris@codesynthesis.com>
- * copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC
- * license : GNU GPL v2; see accompanying LICENSE file
- */
+// file : odb/mysql/mysql.hxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
#ifndef ODB_MYSQL_MYSQL_HXX
#define ODB_MYSQL_MYSQL_HXX
#include <odb/mysql/details/config.hxx>
+#include <odb/mysql/mysql-types.hxx>
+
#ifdef _WIN32
# include <winsock2.h>
#endif
#ifdef LIBODB_MYSQL_INCLUDE_SHORT
# include <mysql.h>
+# include <errmsg.h>
+# include <mysqld_error.h>
#else
# include <mysql/mysql.h>
+# include <mysql/errmsg.h>
+# include <mysql/mysqld_error.h>
#endif
#endif // ODB_MYSQL_MYSQL_HXX