diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-03 16:21:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-03 16:21:31 +0200 |
commit | 7e8e8aba7cc49bd26393c8f2cb07d99df9fec8dd (patch) | |
tree | cbbef7278026edf6ee1d9d93c9ef3df2e50bd001 /odb/mysql/query.hxx | |
parent | ab9911fc1ed97bcfcb013c202c610a950609f979 (diff) |
Add support for MinGW build
Diffstat (limited to 'odb/mysql/query.hxx')
-rw-r--r-- | odb/mysql/query.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/odb/mysql/query.hxx b/odb/mysql/query.hxx index 5dd4339..8e1d241 100644 --- a/odb/mysql/query.hxx +++ b/odb/mysql/query.hxx @@ -10,10 +10,11 @@ #include <odb/mysql/details/config.hxx> +#ifdef _WIN32 +# include <winsock2.h> +#endif + #ifdef LIBODB_MYSQL_INCLUDE_SHORT -# ifdef _WIN32 -# include <winsock2.h> -# endif # include <mysql.h> #else # include <mysql/mysql.h> |