Skip to content

Commit

Permalink
fixup includes, remove include SDL.h from src/events.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed Jun 19, 2014
1 parent 4c06902 commit 78b538b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/events.hpp
Expand Up @@ -15,7 +15,8 @@
#ifndef EVENTS_HPP_INCLUDED
#define EVENTS_HPP_INCLUDED

#include "SDL.h"
#include "SDL_events.h"
#include "SDL_version.h"
#include <vector>

//our user-defined double-click event type
Expand Down
1 change: 1 addition & 0 deletions src/sound.cpp
Expand Up @@ -24,6 +24,7 @@
#include "util.hpp"

#include "SDL_mixer.h"
#include "SDL_sound.h"

#include <boost/foreach.hpp>

Expand Down
2 changes: 2 additions & 0 deletions src/soundsource.cpp
Expand Up @@ -21,6 +21,8 @@
#include "sound.hpp"
#include "soundsource.hpp"

#include "SDL_sound.h"

namespace soundsource {

const unsigned DEFAULT_CHANCE = 100;
Expand Down
2 changes: 2 additions & 0 deletions src/tooltips.cpp
Expand Up @@ -22,6 +22,8 @@
#include "resources.hpp"
#include "video.hpp"

#include "SDL_sound.h"

#include <boost/foreach.hpp>

namespace {
Expand Down

0 comments on commit 78b538b

Please sign in to comment.