diff --git a/storage/tokudb/hatoku_hton.cc b/storage/tokudb/hatoku_hton.cc index 161bffad41b31242f9b8bd1c5d908476866fc0bd..80600d96718bfeb7cfaedd200748b484a98c0204 100644 --- a/storage/tokudb/hatoku_hton.cc +++ b/storage/tokudb/hatoku_hton.cc @@ -112,9 +112,11 @@ my_bool tokudb_prelock_empty; #endif struct st_mysql_storage_engine storage_engine_structure = { MYSQL_HANDLERTON_INTERFACE_VERSION }; +#if defined(_WIN32) extern "C" { #include "ydb.h" } +#endif static int tokudb_init_func(void *p) { TOKUDB_DBUG_ENTER("tokudb_init_func");