From 40c455f25f64b5bf70adcbc5aaf563a382c5b6d7 Mon Sep 17 00:00:00 2001 From: David Stuttard Date: Thu, 27 Jun 2024 11:21:10 +0100 Subject: [PATCH] [Support] Fix llvm::xxh3_128bits for win 32 builds #95863 caused build failures for Win32 builds. This change includes the necessary include to fix it. --- llvm/lib/Support/xxhash.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm/lib/Support/xxhash.cpp b/llvm/lib/Support/xxhash.cpp index a0803297555ce6..8e1763809bf010 100644 --- a/llvm/lib/Support/xxhash.cpp +++ b/llvm/lib/Support/xxhash.cpp @@ -46,6 +46,9 @@ #include "llvm/Support/Endian.h" #include +#if defined(_MSC_VER) && defined(_M_IX86) +#include +#endif using namespace llvm; using namespace support;