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:
Marko Mäkelä 2019-06-27 14:58:43 +03:00
parent 0b7fa5a05d
commit f5c080c735
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -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"