Skip to content

Commit

Permalink
Correctly include SDL2 via <SDL.h>
Browse files Browse the repository at this point in the history
  • Loading branch information
jlnr committed Jul 26, 2015
1 parent aa4ae37 commit 229fdea
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Graphics/Resolution.cpp
Expand Up @@ -46,7 +46,7 @@ unsigned Gosu::availableHeight()
return availableSize.cy;
}
#else
#include <SDL2/SDL.h>
#include <SDL.h>

namespace
{
Expand Down
2 changes: 1 addition & 1 deletion src/Input/Input.cpp
Expand Up @@ -2,7 +2,7 @@
#include <Gosu/TextInput.hpp>
#include <Gosu/TR1.hpp>
#include <Gosu/Utility.hpp>
#include <SDL2/SDL.h>
#include <SDL.h>
#include <cwctype>
#include <cstdlib>
#include <algorithm>
Expand Down
2 changes: 1 addition & 1 deletion src/Input/TextInput.cpp
@@ -1,7 +1,7 @@
#include <Gosu/TextInput.hpp>
#include <Gosu/Input.hpp>
#include <Gosu/Utility.hpp>
#include <SDL2/SDL.h>
#include <SDL.h>
#include <cwctype>

struct Gosu::TextInput::Impl
Expand Down
2 changes: 1 addition & 1 deletion src/Text/TextUnix.cpp
Expand Up @@ -5,7 +5,7 @@
#include <pango/pango.h>
#include <pango/pangoft2.h>
#include <glib.h>
#include <SDL2/SDL_ttf.h>
#include <SDL_ttf.h>

#include <string>
#include <cstring>
Expand Down
2 changes: 1 addition & 1 deletion src/Window.cpp
@@ -1,6 +1,6 @@
#include <Gosu/Gosu.hpp>
#include "Graphics/Common.hpp"
#include <SDL2/SDL.h>
#include <SDL.h>
#include <cstdlib>
#include <memory>
#include <stdexcept>
Expand Down

0 comments on commit 229fdea

Please sign in to comment.