summaryrefslogtreecommitdiff
path: root/Xi/xipassivegrab.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-09-02 15:28:28 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-09-03 08:39:27 +1000
commitd481720c57f558c47273bf89854fc69254319772 (patch)
treefa893f46d8c269f1af6ed281e39680f4c63588bf /Xi/xipassivegrab.h
parent377a5f655ca88cd836da24ab42361df9f3ff51a2 (diff)
Xi: standardise XI2 headers.
Adding missing dix-config.h include, adding one missing header guard. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
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 */