From 9277ec1628a788775495a0d23a318e3a1425755c Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 5 Jan 2009 06:35:16 +0000 Subject: [PATCH] define this value if it's not in the system headers --- src/video/x11/SDL_x11mouse.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/video/x11/SDL_x11mouse.c b/src/video/x11/SDL_x11mouse.c index 9d162ae2f..0ddc04bbb 100644 --- a/src/video/x11/SDL_x11mouse.c +++ b/src/video/x11/SDL_x11mouse.c @@ -122,6 +122,9 @@ X11_InitMouse(_THIS) } else { SDL_AddMouse(&mouse, DevList[i].name, 0, 0, 1); } +#ifndef IsXExtensionPointer +#define IsXExtensionPointer 4 +#endif if (DevList[i].use == IsXExtensionPointer) { ++num_mice; }