diff options
-rw-r--r-- | src/mesa/drivers/dri/common/glcontextmodes.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/glcontextmodes.c b/src/mesa/drivers/dri/common/glcontextmodes.c index 5e9e352f2c..5c1617539d 100644 --- a/src/mesa/drivers/dri/common/glcontextmodes.c +++ b/src/mesa/drivers/dri/common/glcontextmodes.c @@ -39,6 +39,9 @@ # include "imports.h" # define __glXMemset memset #else +# if defined(XFree86Server) && defined (HAVE_DIX_CONFIG_H) +# include <dix-config.h> +# endif # include <X11/X.h> # include <GL/glx.h> # include "GL/glxint.h" |