diff --git a/sql/ha_innodb.cc b/sql/ha_innodb.cc index 1665c7c011a..1b050d2ceed 100644 --- a/sql/ha_innodb.cc +++ b/sql/ha_innodb.cc @@ -32,6 +32,8 @@ have disables the InnoDB inlining in this file. */ #endif #include "mysql_priv.h" +#ifdef WITH_INNOBASE_STORAGE_ENGINE + #include "slave.h" #include @@ -7622,3 +7624,4 @@ mysql_declare_plugin(innobase) } mysql_declare_plugin_end; +#endif