diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-06 14:24:29 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-06 14:24:29 +0200 |
commit | 54e62a7cabb5643af47962c8ac489d13bc775971 (patch) | |
tree | 1ab1486f7d0d484f69502f8b7baf572ca47b8fa9 | |
parent | 2088891f11ab7aa3f843239cebe06a2850117b0b (diff) |
Include wrapper from libodb-mysql instead of mysql.h
-rw-r--r-- | odb/mysql/header.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/odb/mysql/header.cxx b/odb/mysql/header.cxx index bdb98a4..baaad86 100644 --- a/odb/mysql/header.cxx +++ b/odb/mysql/header.cxx @@ -402,9 +402,6 @@ namespace mysql ctx.os << "#include <cstddef>" << endl // std::size_t << endl; - ctx.os << "#include <mysql/mysql.h>" << endl - << endl; - ctx.os << "#include <odb/core.hxx>" << endl << "#include <odb/traits.hxx>" << endl; @@ -413,7 +410,9 @@ namespace mysql ctx.os << endl << "#include <odb/mysql/version.hxx>" << endl - << "#include <odb/mysql/forward.hxx>" << endl; + << "#include <odb/mysql/forward.hxx>" << endl + << "#include <odb/mysql/mysql.hxx>" << endl + << endl; if (ctx.options.generate_query ()) ctx.os << "#include <odb/mysql/query.hxx>" << endl; |