diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-06-27 14:58:43 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-06-27 15:04:00 +0300 |
commit | f5c080c7353cc9c30d0b269c07024cd38253c3bc (patch) | |
tree | c5d8fc4b6e830b4177b4ef5a3e05a0efed496724 /storage/innobase/include/ib0mutex.h | |
parent | 0b7fa5a05deecaf52207f00bb02b5c6b460abb11 (diff) | |
download | mariadb-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.h | 1 |
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" |