From: Erik Faye-Lund Date: Mon, 28 Apr 2014 14:45:43 GMT Subject: Re: [PATCH 02/12] MINGW: compat/bswap.h: include stdint.h Message-ID: In-Reply-To: <1398693097-24651-3-git-send-email-marat@slonopotamus.org> On Mon, Apr 28, 2014 at 3:51 PM, Marat Radchenko wrote: > bswap.h uses uint32_t type which might not be defined. > This patch adds direct include so bswap.h can be safely included. > > Signed-off-by: Marat Radchenko > --- > compat/bswap.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/compat/bswap.h b/compat/bswap.h > index 120c6c1..d170447 100644 > --- a/compat/bswap.h > +++ b/compat/bswap.h > @@ -5,6 +5,8 @@ > * operation. > */ > > +#include > + > /* > * Default version that the compiler ought to optimize properly with > * constant values. Hmm, what's the symptom this fixes? From what I can tell, bswap.h is included after stdint.h from git-compat-util.h anyway...