diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-09 09:31:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-09 09:31:53 +0200 |
commit | d3a1c61c2c10d952c7a186d367b42a1ea1b3e946 (patch) | |
tree | e41a4f37d10715843aee1a0ac724960ab0b5ebe8 /odb/mysql/database.hxx | |
parent | ab48e8593260239b432f2e03c9b69a2e83211a77 (diff) |
Rework MySQL header inclusion
Diffstat (limited to 'odb/mysql/database.hxx')
-rw-r--r-- | odb/mysql/database.hxx | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/odb/mysql/database.hxx b/odb/mysql/database.hxx index b10b037..9f07f03 100644 --- a/odb/mysql/database.hxx +++ b/odb/mysql/database.hxx @@ -8,23 +8,12 @@ #include <odb/pre.hxx> -#include <odb/mysql/details/config.hxx> - -#ifdef _WIN32 -# include <winsock2.h> -#endif - -#ifdef LIBODB_MYSQL_INCLUDE_SHORT -# include <mysql.h> -#else -# include <mysql/mysql.h> -#endif - #include <string> #include <memory> // std::auto_ptr #include <odb/database.hxx> +#include <odb/mysql/mysql.hxx> #include <odb/mysql/version.hxx> #include <odb/mysql/forward.hxx> #include <odb/mysql/connection.hxx> |