diff options
author | Abseil Team <absl-team@google.com> | 2024-07-18 11:58:58 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-07-18 11:59:57 -0700 |
commit | f754f2b9445a2616f740d0f9d7214c98d2b5c0f7 (patch) | |
tree | 5a1914c13ade3e6c3f63de762da9eb0da9482cd8 | |
parent | 0598e582f659594aa3592c70ba7dcb251649d264 (diff) |
Add missing include for Windows ASAN configuration in poison.cc
GetPageSize requires windows include regardless of presence of ASAN or MSAN
PiperOrigin-RevId: 653705885
Change-Id: I4c7eec09db6c1a6168dd249cf584f1774d6cead2
-rw-r--r-- | absl/base/internal/poison.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/absl/base/internal/poison.cc b/absl/base/internal/poison.cc index 9afa0687..b33d4c2d 100644 --- a/absl/base/internal/poison.cc +++ b/absl/base/internal/poison.cc @@ -29,7 +29,9 @@ #include <sanitizer/msan_interface.h> #elif defined(ABSL_HAVE_MMAP) #include <sys/mman.h> -#elif defined(_WIN32) +#endif + +#if defined(_WIN32) #include <windows.h> #endif |