Skip to content

Commit

Permalink
Merge pull request #1 from h3xx/fix-include
Browse files Browse the repository at this point in the history
Fix FTBFS when building against SDL2
  • Loading branch information
frank-zago committed Apr 17, 2019
2 parents 42ba776 + c8a0d22 commit 9ad4df2
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 9ad4df2

Please sign in to comment.