aboutsummaryrefslogtreecommitdiff
path: root/X11/extensions/XIproto.h
diff options
context:
space:
mode:
Diffstat (limited to 'X11/extensions/XIproto.h')
-rw-r--r--X11/extensions/XIproto.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/X11/extensions/XIproto.h b/X11/extensions/XIproto.h
index e00ab61dc..82323d899 100644
--- a/X11/extensions/XIproto.h
+++ b/X11/extensions/XIproto.h
@@ -85,12 +85,14 @@ typedef struct _XExtEventInfo
BYTE word;
} XExtEventInfo;
-typedef unsigned char *Pointer;
+#ifndef _XITYPEDEF_POINTER
+typedef void *Pointer;
+#endif
struct tmask
{
Mask mask;
- Pointer dev;
+ void *dev;
};
/*********************************************************