summaryrefslogtreecommitdiff
path: root/Xext/xres.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xext/xres.c')
-rw-r--r--Xext/xres.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Xext/xres.c b/Xext/xres.c
index 7a8fa50b4..1d3105a28 100644
--- a/Xext/xres.c
+++ b/Xext/xres.c
@@ -6,6 +6,10 @@
#define NEED_EVENTS
#define NEED_REPLIES
+#ifdef HAVE_DIX_CONFIG_H
+#include <dix-config.h>
+#endif
+
#include <X11/X.h>
#include <X11/Xproto.h>
#include <X11/misc.h>