From a176bc6c1781ccbd12cdd7ac215a15178b73d5bb Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 15 Feb 2006 21:03:34 +0000 Subject: [PATCH] Include dix-config.h if HAVE_DIX_CONFIG_H is defined. This will be used by the X Server to get things like _XSERVER64 (for X headers) and NO_LIBCWRAPPER defined consistently when its builds Mesa internally. --- src/mesa/main/glheader.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h index aab7165c720..0ebadaa9fa6 100644 --- a/src/mesa/main/glheader.h +++ b/src/mesa/main/glheader.h @@ -46,6 +46,9 @@ #ifndef GLHEADER_H #define GLHEADER_H +#ifdef HAVE_DIX_CONFIG_H +#include "dix-config.h" +#endif #if defined(XFree86LOADER) && defined(IN_MODULE) && !defined(NO_LIBCWRAPPER) #include "xf86_ansic.h" -- 2.30.2