diff options
author | George Sapountzis <[email protected]> | 2010-02-25 17:52:04 +0200 |
---|---|---|
committer | George Sapountzis <[email protected]> | 2010-02-25 17:52:04 +0200 |
commit | ec91810147425f4123ec80117109925e054cc66d (patch) | |
tree | 159ef1edbee94d52986b15528b1b50899cbbab9e /src/mesa/glapi/glapi_getproc.c | |
parent | 8ae701cbc9fc8d2e0e710aea7ef3b0fa68dcec73 (diff) |
glapi: minor ugliness to be able to copy to xorg
Diffstat (limited to 'src/mesa/glapi/glapi_getproc.c')
-rw-r--r-- | src/mesa/glapi/glapi_getproc.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mesa/glapi/glapi_getproc.c b/src/mesa/glapi/glapi_getproc.c index eecfb9c1ae1..69eb42c79ed 100644 --- a/src/mesa/glapi/glapi_getproc.c +++ b/src/mesa/glapi/glapi_getproc.c @@ -30,10 +30,14 @@ */ -#include <stdlib.h> -#include <string.h> +#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/glapioffsets.h" #include "glapi/glapitable.h" |