Permalink
Browse files

linux compiling fix

  • Loading branch information...
jacob1 committed Oct 14, 2016
1 parent 9e33906 commit c1fad5ebf9fcef1c5ae04afa770310a42d78bf1b
Showing with 6 additions and 2 deletions.
  1. +2 −0 src/PowderToySDL.cpp
  2. +4 −2 src/SDLCompat.h
@@ -50,6 +50,8 @@ extern "C" {
using namespace std;
#define INCLUDE_SYSWM
#include "SDLCompat.h"
#if defined(USE_SDL) && defined(LIN) && defined(SDL_VIDEO_DRIVER_X11)
SDL_SysWMinfo sdl_wminfo;
Atom XA_CLIPBOARD, XA_TARGETS, XA_UTF8_STRING;
@@ -6,12 +6,14 @@
#include "SDL.h"
#endif
#ifdef INCLUDE_SYSWM
#if defined(WIN) || defined(LIN)
#ifdef SDL_INC
#include <SDL/SDL_syswm.h>
#else
#include <SDL_syswm.h>
#endif
#endif
#endif // WIN || LIN
#endif // INCLUDE_SYSWM
#endif //USE_SDL
#endif // USE_SDL

0 comments on commit c1fad5e

Please sign in to comment.