diff --git a/mysys/my_cpu.c b/mysys/my_cpu.c index dd8ff4b6a02..9434bceac41 100644 --- a/mysys/my_cpu.c +++ b/mysys/my_cpu.c @@ -14,6 +14,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #include +#include #include #ifdef HAVE_PAUSE_INSTRUCTION diff --git a/storage/innobase/include/ib0mutex.h b/storage/innobase/include/ib0mutex.h index 3e99eb79416..e496c65e46a 100644 --- a/storage/innobase/include/ib0mutex.h +++ b/storage/innobase/include/ib0mutex.h @@ -29,6 +29,7 @@ Created 2013-03-26 Sunny Bains. #ifndef ib0mutex_h #define ib0mutex_h +#include "my_atomic.h" #include "my_cpu.h" #include "os0event.h" #include "sync0arr.h"