src/video/mir/SDL_mirwindow.c
changeset 8154 ea6b25de67b6
parent 8153 3e43c73ac79b
child 8155 cf0eda3f5e35
     1.1 --- a/src/video/mir/SDL_mirwindow.c	Sun Feb 02 23:41:46 2014 -0500
     1.2 +++ b/src/video/mir/SDL_mirwindow.c	Sun Feb 02 23:54:10 2014 -0500
     1.3 @@ -23,7 +23,9 @@
     1.4    Contributed by Brandon Schaefer, <brandon.schaefer@canonical.com>
     1.5  */
     1.6  
     1.7 -#include "SDL_config.h"
     1.8 +#include "../../SDL_internal.h"
     1.9 +
    1.10 +#if SDL_VIDEO_DRIVER_MIR
    1.11  
    1.12  #include "../SDL_egl_c.h"
    1.13  #include "../SDL_sysvideo.h"
    1.14 @@ -214,3 +216,7 @@
    1.15  
    1.16      mir_surface_set_type(mir_window->surface, mir_surface_state_restored);
    1.17  }
    1.18 +
    1.19 +#endif /* SDL_VIDEO_DRIVER_MIR */
    1.20 +
    1.21 +/* vi: set ts=4 sw=4 expandtab: */