diff options
Diffstat (limited to 'src/video/directfb/SDL_DirectFB_WM.c')
-rw-r--r-- | src/video/directfb/SDL_DirectFB_WM.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video/directfb/SDL_DirectFB_WM.c b/src/video/directfb/SDL_DirectFB_WM.c index 56f80761..c079f638 100644 --- a/src/video/directfb/SDL_DirectFB_WM.c +++ b/src/video/directfb/SDL_DirectFB_WM.c @@ -18,6 +18,9 @@ misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ +#include "SDL_config.h" + +#if SDL_VIDEO_DRIVER_DIRECTFB #include "SDL_DirectFB_video.h" #include "SDL_DirectFB_window.h" @@ -407,3 +410,4 @@ DirectFB_WM_ProcessEvent(_THIS, SDL_Window * window, DFBWindowEvent * evt) return 0; } +#endif /* SDL_VIDEO_DRIVER_DIRECTFB */ |