1.1 --- a/src/video/directfb/SDL_DirectFB_window.c Mon Oct 31 03:06:32 2011 -0400
1.2 +++ b/src/video/directfb/SDL_DirectFB_window.c Mon Oct 31 05:56:58 2011 -0400
1.3 @@ -18,6 +18,9 @@
1.4 misrepresented as being the original software.
1.5 3. This notice may not be removed or altered from any source distribution.
1.6 */
1.7 +#include "SDL_config.h"
1.8 +
1.9 +#if SDL_VIDEO_DRIVER_DIRECTFB
1.10
1.11 #include "SDL_DirectFB_video.h"
1.12 #include "SDL_DirectFB_modes.h"
1.13 @@ -520,3 +523,5 @@
1.14 error:
1.15 return;
1.16 }
1.17 +
1.18 +#endif /* SDL_VIDEO_DRIVER_DIRECTFB */