summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mysys/my_cpu.c1
-rw-r--r--storage/innobase/include/ib0mutex.h1
2 files changed, 2 insertions, 0 deletions
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 <my_global.h>
+#include <my_atomic.h>
#include <my_cpu.h>
#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"