summaryrefslogtreecommitdiff
path: root/src/XGetBMap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XGetBMap.c')
-rw-r--r--src/XGetBMap.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/XGetBMap.c b/src/XGetBMap.c
index 7c814fe..fa5eab6 100644
--- a/src/XGetBMap.c
+++ b/src/XGetBMap.c
@@ -45,6 +45,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
+/* $XFree86: xc/lib/Xi/XGetBMap.c,v 3.4 2002/10/16 00:37:28 dawes Exp $ */
/***********************************************************************
*
@@ -52,11 +53,13 @@ SOFTWARE.
*
*/
-#include "XI.h"
-#include "XIproto.h"
-#include "Xlibint.h"
-#include "XInput.h"
-#include "extutil.h"
+#include <X11/extensions/XI.h>
+#include <X11/extensions/XIproto.h>
+#include <X11/Xlibint.h>
+#include <X11/extensions/XInput.h>
+#include <X11/extensions/extutil.h>
+#include "XIint.h"
+
#ifdef MIN /* some systems define this in <sys/param.h> */
#undef MIN
#endif
@@ -72,7 +75,7 @@ XGetDeviceButtonMapping (dpy, device, map, nmap)
int status = 0;
unsigned char mapping[256]; /* known fixed size */
long nbytes;
- XExtDisplayInfo *info = (XExtDisplayInfo *) XInput_find_display (dpy);
+ XExtDisplayInfo *info = XInput_find_display (dpy);
register xGetDeviceButtonMappingReq *req;
xGetDeviceButtonMappingReply rep;