src/video/wayland/SDL_waylandwindow.c
changeset 8116 f7c2f71251e5
parent 8104 2e4f1bd21196
child 8149 681eb46b8ac4
--- a/src/video/wayland/SDL_waylandwindow.c	Sat Jan 18 11:47:03 2014 -0800
+++ b/src/video/wayland/SDL_waylandwindow.c	Mon Jan 20 12:53:44 2014 -0500
@@ -21,6 +21,8 @@
 
 #include "../../SDL_internal.h"
 
+#if SDL_VIDEO_DRIVER_WAYLAND && SDL_VIDEO_OPENGL_EGL
+
 #include "../SDL_sysvideo.h"
 #include "../../events/SDL_windowevents_c.h"
 #include "../SDL_egl_c.h"
@@ -236,4 +238,6 @@
     }
 }
 
+#endif /* SDL_VIDEO_DRIVER_WAYLAND && SDL_VIDEO_OPENGL_EGL */
+
 /* vi: set ts=4 sw=4 expandtab: */