diff --git a/compiler-rt/lib/builtins/atomic.c b/compiler-rt/lib/builtins/atomic.c --- a/compiler-rt/lib/builtins/atomic.c +++ b/compiler-rt/lib/builtins/atomic.c @@ -51,9 +51,11 @@ //////////////////////////////////////////////////////////////////////////////// #ifdef __FreeBSD__ #include -#include +// clang-format off #include +#include #include +// clang-format on typedef struct _usem Lock; __inline static void unlock(Lock *l) { __c11_atomic_store((_Atomic(uint32_t) *)&l->_count, 1, __ATOMIC_RELEASE); diff --git a/compiler-rt/lib/builtins/clear_cache.c b/compiler-rt/lib/builtins/clear_cache.c --- a/compiler-rt/lib/builtins/clear_cache.c +++ b/compiler-rt/lib/builtins/clear_cache.c @@ -23,8 +23,10 @@ #endif #if defined(__FreeBSD__) && defined(__arm__) -#include +// clang-format off #include +#include +// clang-format on #endif #if defined(__NetBSD__) && defined(__arm__) @@ -32,8 +34,10 @@ #endif #if defined(__OpenBSD__) && defined(__mips__) -#include +// clang-format off #include +#include +// clang-format on #endif #if defined(__linux__) && defined(__mips__)