src/video/x11/SDL_x11touch.c
changeset 5481 22dfc3958dc3
parent 5262 b530ef003506
child 5535 96594ac5fd1a
--- a/src/video/x11/SDL_x11touch.c	Fri Mar 11 18:38:29 2011 -0800
+++ b/src/video/x11/SDL_x11touch.c	Sat Mar 12 13:21:57 2011 -0800
@@ -20,6 +20,9 @@
     slouken@libsdl.org
 */
 #include "SDL_config.h"
+
+#if SDL_VIDEO_DRIVER_X11
+
 #include "SDL_x11video.h"
 #include "SDL_x11touch.h"
 #include "../../events/SDL_touch_c.h"
@@ -117,4 +120,6 @@
     SDL_TouchQuit();
 }
 
+#endif /* SDL_VIDEO_DRIVER_X11 */
+
 /* vi: set ts=4 sw=4 expandtab: */