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