diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-13 13:36:56 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-13 13:36:56 (GMT) |
| commit | d7e12b7b430435ba7ae9616976fad6f5a09c1d3f (patch) | |
| tree | a8a38eab8b09981272d5ebba64e7aeaee66a1df6 /src/Misc.cpp | |
| parent | c447dd2f4a0f90060604d65a043c9544b423da7b (diff) | |
| download | powder-d7e12b7b430435ba7ae9616976fad6f5a09c1d3f.zip powder-d7e12b7b430435ba7ae9616976fad6f5a09c1d3f.tar.gz | |
Missing includes and declarations for Linux
Diffstat (limited to 'src/Misc.cpp')
| -rw-r--r-- | src/Misc.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Misc.cpp b/src/Misc.cpp index d2f5717..0d129e3 100644 --- a/src/Misc.cpp +++ b/src/Misc.cpp @@ -19,6 +19,12 @@ #include <ApplicationServices/ApplicationServices.h> #endif +#if defined(USE_SDL) && (defined(LIN32) || defined(LIN64)) && defined(SDL_VIDEO_DRIVER_X11) +#include <SDL/SDL_syswm.h> +SDL_SysWMinfo sdl_wminfo; +Atom XA_CLIPBOARD, XA_TARGETS; +#endif + char *clipboard_text = NULL; char *exe_name(void) |
