diff options
Diffstat (limited to 'src/mesa/glapi/glapi_dispatch.c')
-rw-r--r-- | src/mesa/glapi/glapi_dispatch.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/glapi/glapi_dispatch.c b/src/mesa/glapi/glapi_dispatch.c index 4cb43f45055..32b9535e3fc 100644 --- a/src/mesa/glapi/glapi_dispatch.c +++ b/src/mesa/glapi/glapi_dispatch.c @@ -37,8 +37,14 @@ * \author Brian Paul <[email protected]> */ +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#include "glapi/mesa.h" +#else #include "main/glheader.h" #include "main/compiler.h" +#endif + #include "glapi/glapi.h" #include "glapi/glapitable.h" #include "glapi/glapidispatch.h" |