summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-09-04 09:46:47 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-09-04 09:46:47 +0300
commit05008999047c055780bb6df072ba4366c29dd0e8 (patch)
tree3d546590fae825c66d77aad76f9142a6377644f1
parent7f99381288a280c27f74edb3d4ed6bbad4f172b9 (diff)
downloadmariadb-git-05008999047c055780bb6df072ba4366c29dd0e8.tar.gz
MDEV-13705 10.0.32 does not compile on architectures without 64-bit atomics
This is a backport of the following: MDEV-13009 10.1.24 does not compile on architectures without 64-bit atomics Add a missing #include "sync0types.h" that was removed in MDEV-12674.
-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;