X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcb_auth.c;h=f42400d9bbbb7c4763aaa1ec2e17c843471b8f90;hb=ff38c17c48c271847d12c81cbf80142c6918dc78;hp=d72d780eb3b2e32841fabd2acac626190c65190d;hpb=a810d1ffe4825b9359f13ebb395f5f681961fc89;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcb_auth.c b/src/xcb_auth.c index d72d780..f42400d 100644 --- a/src/xcb_auth.c +++ b/src/xcb_auth.c @@ -34,13 +34,21 @@ #include #include -#include "xcb.h" -#include "xcbint.h" +/* FIXME: for the moment Xdmcp.h must be included before xcb.h because + * it includes Xmd.h, but config.h (normally included from xcbint.h + * which must be included after xcb.h) must be included before Xdmcp.h. + * Ow. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #ifdef HASXDMAUTH #include #endif +#include "xcb.h" +#include "xcbint.h" + enum auth_protos { #ifdef HASXDMAUTH AUTH_XA1,