Chase Douglas <[email protected]> (12/11/2010): > --- a/include/inputstr.h > +++ b/include/inputstr.h > @@ -49,6 +49,8 @@ SOFTWARE. > #ifndef INPUTSTRUCT_H > #define INPUTSTRUCT_H > > +#include <X11/extensions/XI2proto.h> > +
This one makes everything explode, but I think xinput proto is to blame: it uses types declared in <stdint.h> without including that header. So it goes fine as long as the #includer of XI2proto.h #includes <stdint.h> before #including XI2proto.h, otherwise things do wild: | CC enterleave.lo | In file included from ../include/inputstr.h:53, | from enterleave.c:34: | /usr/include/X11/extensions/XI2proto.h:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘FP1616’ | /usr/include/X11/extensions/XI2proto.h:110: error: expected specifier-qualifier-list before ‘int32_t’ | In file included from ../include/inputstr.h:53, | from enterleave.c:34: | /usr/include/X11/extensions/XI2proto.h:124: error: expected specifier-qualifier-list before ‘uint16_t’ | /usr/include/X11/extensions/XI2proto.h:141: error: expected specifier-qualifier-list before ‘uint16_t’ | […] Mraw, KiBi.
signature.asc
Description: Digital signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
