diff options
Diffstat (limited to 'mesalib/src/mesa/main/dispatch.h')
-rw-r--r-- | mesalib/src/mesa/main/dispatch.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/dispatch.h b/mesalib/src/mesa/main/dispatch.h index ea8e03286..19eabb85c 100644 --- a/mesalib/src/mesa/main/dispatch.h +++ b/mesalib/src/mesa/main/dispatch.h @@ -40,7 +40,11 @@ * named function in the specified dispatch table. */ +/* GLXEXT is defined when building the GLX extension in the xserver. + */ +#if !defined(GLXEXT) #include "main/mfeatures.h" +#endif #define CALL_by_offset(disp, cast, offset, parameters) \ (*(cast (GET_by_offset(disp, offset)))) parameters |