summaryrefslogtreecommitdiff
path: root/Xi/grabdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/grabdev.c')
-rw-r--r--Xi/grabdev.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Xi/grabdev.c b/Xi/grabdev.c
index ea265ea81..3b124a0f4 100644
--- a/Xi/grabdev.c
+++ b/Xi/grabdev.c
@@ -56,6 +56,10 @@ SOFTWARE.
#define NEED_EVENTS
#define NEED_REPLIES
+#ifdef HAVE_DIX_CONFIG_H
+#include <dix-config.h>
+#endif
+
#include <X11/X.h> /* for inputstr.h */
#include <X11/Xproto.h> /* Request macro */
#include "inputstr.h" /* DeviceIntPtr */