# HG changeset patch # User Sam Lantinga # Date 1231137316 0 # Node ID 0deb3e94c251adb156179c635513370dd876b771 # Parent 7b031c55aebc8adbb705933d223b2d739d9290b6 define this value if it's not in the system headers diff -r 7b031c55aebc -r 0deb3e94c251 src/video/x11/SDL_x11mouse.c --- a/src/video/x11/SDL_x11mouse.c Mon Jan 05 06:28:50 2009 +0000 +++ b/src/video/x11/SDL_x11mouse.c Mon Jan 05 06:35:16 2009 +0000 @@ -122,6 +122,9 @@ } else { SDL_AddMouse(&mouse, DevList[i].name, 0, 0, 1); } +#ifndef IsXExtensionPointer +#define IsXExtensionPointer 4 +#endif if (DevList[i].use == IsXExtensionPointer) { ++num_mice; }