diff --git a/storage/xtradb/CMakeLists.txt b/storage/xtradb/CMakeLists.txt index 044a259c65d..1d2b0b29dea 100644 --- a/storage/xtradb/CMakeLists.txt +++ b/storage/xtradb/CMakeLists.txt @@ -266,4 +266,4 @@ IF(WITH_INNODB) ENDIF() MYSQL_ADD_PLUGIN(xtradb ${INNOBASE_SOURCES} STORAGE_ENGINE DEFAULT - LINK_LIBRARIES ${ZLIB_LIBRARY}) + LINK_LIBRARIES ${ZLIB_LIBRARY} RECOMPILE_FOR_EMBEDDED) diff --git a/storage/xtradb/handler/handler0alter.cc b/storage/xtradb/handler/handler0alter.cc index 9d6ccaf99a2..2fd05901393 100644 --- a/storage/xtradb/handler/handler0alter.cc +++ b/storage/xtradb/handler/handler0alter.cc @@ -23,6 +23,7 @@ Smart ALTER TABLE #include #include +#include #include // SQLCOM_CREATE_INDEX #include