[NFC] Allow to include sanitizer_allocator_bytemap.h
authorVitaly Buka <vitalybuka@google.com>
Sun, 10 Oct 2021 19:33:49 +0000 (12:33 -0700)
committerVitaly Buka <vitalybuka@google.com>
Mon, 11 Oct 2021 05:23:48 +0000 (22:23 -0700)
compiler-rt/lib/sanitizer_common/sanitizer_allocator_bytemap.h

index 0084bb6..7926a07 100644 (file)
@@ -9,9 +9,8 @@
 // Part of the Sanitizer Allocator.
 //
 //===----------------------------------------------------------------------===//
-#ifndef SANITIZER_ALLOCATOR_H
-#error This file must be included inside sanitizer_allocator.h
-#endif
+
+#include "sanitizer_local_address_space_view.h"
 
 // Maps integers in rage [0, kSize) to u8 values.
 template <u64 kSize, typename AddressSpaceViewTy = LocalAddressSpaceView>