mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
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.
This commit is contained in:
parent
0b7fa5a05d
commit
f5c080c735
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue