diff --git a/sys/sys/atomic_san.h b/sys/sys/atomic_san.h --- a/sys/sys/atomic_san.h +++ b/sys/sys/atomic_san.h @@ -43,6 +43,9 @@ #error do not include this header, use machine/atomic.h #endif +#include +#include + #define ATOMIC_SAN_FUNC_1(sp, op, name, type) \ void sp##_atomic_##op##_##name(volatile type *, type); \ void sp##_atomic_##op##_acq_##name(volatile type *, type); \