summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-02-08 14:52:06 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-02-08 14:52:06 +0000
commitd93615fc1e6c6da3908b1574f5a071cfcb9ce921 (patch)
treefe269aa5ccf6f98498a8eed19e186a3d119db707
parent42725d6f545087d094b1479d1ebcbd45ec6ac15c (diff)
include dix-config.h (Mike Harris) (bug 5835)
-rw-r--r--src/mesa/drivers/dri/common/glcontextmodes.c3
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"