>>> On 14.07.16 at 17:58, <andrew.coop...@citrix.com> wrote: > --- a/xen/include/xen/types.h > +++ b/xen/include/xen/types.h > @@ -1,6 +1,8 @@ > #ifndef __TYPES_H__ > #define __TYPES_H__ > > +#include <xen/stdbool.h> > + > #include <asm/types.h> > > #define BITS_TO_LONGS(bits) \ > @@ -59,4 +61,8 @@ typedef __u64 __be64; > > typedef unsigned long uintptr_t; > > +typedef _Bool bool_t;
I see this went in already, but I think it is slightly sub-optimal: Either you use _Bool here and don't include xen/stdbool.h above, or you instead use bool in this typedef. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel