summaryrefslogtreecommitdiff
path: root/storage/innobase/include/ib0mutex.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-06-27 14:58:43 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-06-27 15:04:00 +0300
commitf5c080c7353cc9c30d0b269c07024cd38253c3bc (patch)
treec5d8fc4b6e830b4177b4ef5a3e05a0efed496724 /storage/innobase/include/ib0mutex.h
parent0b7fa5a05deecaf52207f00bb02b5c6b460abb11 (diff)
downloadmariadb-git-f5c080c7353cc9c30d0b269c07024cd38253c3bc.tar.gz
MDEV-19845: Fix the build on some platforms
On some platforms, MY_RELAX_CPU() falls back to an atomic memory operation, but my_cpu.h fails to include my_atomic.h.
Diffstat (limited to 'storage/innobase/include/ib0mutex.h')
-rw-r--r--storage/innobase/include/ib0mutex.h1
1 files changed, 1 insertions, 0 deletions
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"