aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/statement.cxx
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/statement.cxx
parentab48e8593260239b432f2e03c9b69a2e83211a77 (diff)
Rework MySQL header inclusion
Diffstat (limited to 'odb/mysql/statement.cxx')
-rw-r--r--odb/mysql/statement.cxx13
1 files changed, 1 insertions, 12 deletions
diff --git a/odb/mysql/statement.cxx b/odb/mysql/statement.cxx
index 95edbbd..0cab7cc 100644
--- a/odb/mysql/statement.cxx
+++ b/odb/mysql/statement.cxx
@@ -3,18 +3,7 @@
// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC
// license : GNU GPL v2; see accompanying LICENSE file
-#include <odb/mysql/details/config.hxx>
-
-#ifdef _WIN32
-# include <winsock2.h>
-#endif
-
-#ifdef LIBODB_MYSQL_INCLUDE_SHORT
-# include <mysqld_error.h> // ER_DUP_ENTRY, ER_LOCK_DEADLOCK
-#else
-# include <mysql/mysqld_error.h>
-#endif
-
+#include <odb/mysql/mysql.hxx>
#include <odb/mysql/statement.hxx>
#include <odb/mysql/connection.hxx>
#include <odb/mysql/exceptions.hxx>