summaryrefslogtreecommitdiff
path: root/Xi/xipassivegrab.h
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/xipassivegrab.h')
-rw-r--r--Xi/xipassivegrab.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/Xi/xipassivegrab.h b/Xi/xipassivegrab.h
index 84fb5eb84..079e7c61b 100644
--- a/Xi/xipassivegrab.h
+++ b/Xi/xipassivegrab.h
@@ -23,8 +23,12 @@
* Author: Peter Hutterer
*/
+#ifdef HAVE_DIX_CONFIG_H
+#include <dix-config.h>
+#endif
+
#ifndef XIPASSIVEGRAB_H
-#define XIPASSIVEGRAB_H
+#define XIPASSIVEGRAB_H 1
int SProcXIPassiveUngrabDevice(ClientPtr client);
int ProcXIPassiveUngrabDevice(ClientPtr client);
@@ -32,4 +36,4 @@ void SRepXIPassiveGrabDevice(ClientPtr client, int size, xXIPassiveGrabDeviceRep
int ProcXIPassiveGrabDevice(ClientPtr client);
int SProcXIPassiveGrabDevice(ClientPtr client);
-#endif
+#endif /* XIPASSIVEGRAB_H */