src/video/x11/SDL_x11modes.c
changeset 5481 22dfc3958dc3
parent 5466 006883d5fa51
child 5535 96594ac5fd1a
--- a/src/video/x11/SDL_x11modes.c	Fri Mar 11 18:38:29 2011 -0800
+++ b/src/video/x11/SDL_x11modes.c	Sat Mar 12 13:21:57 2011 -0800
@@ -21,6 +21,8 @@
 */
 #include "SDL_config.h"
 
+#if SDL_VIDEO_DRIVER_X11
+
 #include "SDL_x11video.h"
 
 /*#define X11MODES_DEBUG*/
@@ -715,4 +717,6 @@
 {
 }
 
+#endif /* SDL_VIDEO_DRIVER_X11 */
+
 /* vi: set ts=4 sw=4 expandtab: */