On Apr 6, 2009, at 18:50, Jeremy Huddleston wrote: > Then that screws up when Xdefs.h is included after Xlib.h ... why > doesn't Xlib.h just #include Xdefs.h to get these?
This seems correct to me... and all the X11 libs successfully rebuilt with it, so I don't see any reason against it... any objections: diff --git a/include/X11/Xlib.h b/include/X11/Xlib.h index 44557ea..83d649b 100644 --- a/include/X11/Xlib.h +++ b/include/X11/Xlib.h @@ -106,9 +106,9 @@ _Xmblen( #define X_HAVE_UTF8_STRING 1 typedef char *XPointer; +typedef int Status; -#define Bool int -#define Status int +#include <X11/Xdefs.h> #define True 1 #define False 0 _______________________________________________ xorg-devel mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-devel
