Re: [PATCH 02/12] MINGW: compat/bswap.h: include stdint.h
- From
Erik Faye-Lund <kusmabite@gmail.com>
- Date
- Apr 28, 2014, 14:45 UTC
- Message-ID
- <CABPQNSaE9ua_JM0bY8QNSThqSKHG3d7N_PV5hmnKRt93sZkVBQ@mail.gmail.com>
- In-Reply-To
- <1398693097-24651-3-git-send-email-marat@slonopotamus.org>
On Mon, Apr 28, 2014 at 3:51 PM, Marat Radchenko <marat@slonopotamus.org> wrote:
Show 21 quoted lines
> 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 <marat@slonopotamus.org> > --- > 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 <stdint.h> > + > /* > * 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...