Index: compiler-rt/trunk/lib/gwp_asan/guarded_pool_allocator.cpp =================================================================== --- compiler-rt/trunk/lib/gwp_asan/guarded_pool_allocator.cpp +++ compiler-rt/trunk/lib/gwp_asan/guarded_pool_allocator.cpp @@ -10,6 +10,12 @@ #include "gwp_asan/options.h" +// RHEL creates the PRIu64 format macro (for printing uint64_t's) only when this +// macro is defined before including . +#ifndef __STDC_FORMAT_MACROS + #define __STDC_FORMAT_MACROS 1 +#endif + #include #include #include