From 377020155e2f24a4de39a0738c0a2eda92157ade Mon Sep 17 00:00:00 2001 From: agunashe <86270081+agunashe@users.noreply.github.com> Date: Mon, 6 Jun 2022 10:01:34 -0700 Subject: [PATCH] SWDEV-327563 - Windows: fix memory tests build failure (#2716) --- catch/unit/memory/hipMallocArray.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/catch/unit/memory/hipMallocArray.cc b/catch/unit/memory/hipMallocArray.cc index 39f8a0a99a..22e1ce9864 100644 --- a/catch/unit/memory/hipMallocArray.cc +++ b/catch/unit/memory/hipMallocArray.cc @@ -27,6 +27,9 @@ hipMallocArray API test scenarios #include #include +#if defined(_WIN32) || defined(_WIN64) +#include +#endif static constexpr auto NUM_W{4}; static constexpr auto BIGNUM_W{100};