From b3e4054f1490f405578fe7dc9d6e965cda8959d8 Mon Sep 17 00:00:00 2001 From: James Zern Date: Tue, 21 Feb 2012 13:57:48 -0800 Subject: [PATCH] silence msvc debug build warning _byteswap_ulong is defined in stdlib.h, release builds seem to pull it in through a different path. Change-Id: I510d2624150f89a4a77734bf3dc5b4db60a4ba95 --- src/utils/bit_reader.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/utils/bit_reader.h b/src/utils/bit_reader.h index bdbb1d13..36d40c1d 100644 --- a/src/utils/bit_reader.h +++ b/src/utils/bit_reader.h @@ -13,6 +13,9 @@ #define WEBP_UTILS_BIT_READER_H_ #include +#ifdef _MSC_VER +#include // _byteswap_ulong +#endif #include "../webp/decode_vp8.h" #if defined(__cplusplus) || defined(c_plusplus)