From 2c14e2788d482753573f274c54e6194da7cdfd6e Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Mon, 2 Aug 2021 12:11:24 -0700 Subject: [PATCH] Added #include for Windows instrinsic. --- upb/table.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/upb/table.c b/upb/table.c index 8eeb043908..91908db27c 100644 --- a/upb/table.c +++ b/upb/table.c @@ -321,6 +321,10 @@ static uint32_t UnalignedLoad32(const void *p) { return val; } +#if defined(_MSC_VER) && defined(_M_X64) +#include +#endif + /* Computes a * b, returning the low 64 bits of the result and storing the high * 64 bits in |*high|. */ static uint64_t upb_umul128(uint64_t v0, uint64_t v1, uint64_t* out_high) {