summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--storage/innobase/include/srv0mon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/innobase/include/srv0mon.h b/storage/innobase/include/srv0mon.h
index 09af5d4159b..7dccf1b3f4d 100644
--- a/storage/innobase/include/srv0mon.h
+++ b/storage/innobase/include/srv0mon.h
@@ -616,6 +616,7 @@ Use MONITOR_DEC if appropriate mutex protection exists.
# define srv_mon_create() ((void) 0)
# define srv_mon_free() ((void) 0)
#else /* HAVE_ATOMIC_BUILTINS_64 */
+# include "sync0types.h"
/** Mutex protecting atomic operations on platforms that lack
built-in operations for atomic memory access */
extern ib_mutex_t monitor_mutex;