Skip to content

Commit

Permalink
Fix FTBFS when building against SDL2
Browse files Browse the repository at this point in the history
  • Loading branch information
h3xx committed Apr 16, 2019
1 parent 42ba776 commit c8a0d22
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/frate.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@
* 02110-1301, USA.
*/

#include <SDL/SDL_framerate.h>
#include <SDL_version.h>
#if SDL_VERSION_ATLEAST(2,0,0)
#include <SDL2_framerate.h>
#else
#include <SDL_framerate.h>
#endif

#include "xgalaga.h"

Expand Down

0 comments on commit c8a0d22

Please sign in to comment.