summaryrefslogtreecommitdiff
path: root/src/Misc.cpp
diff options
context:
space:
mode:
authorSimon 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)
commitd7e12b7b430435ba7ae9616976fad6f5a09c1d3f (patch)
treea8a38eab8b09981272d5ebba64e7aeaee66a1df6 /src/Misc.cpp
parentc447dd2f4a0f90060604d65a043c9544b423da7b (diff)
downloadpowder-d7e12b7b430435ba7ae9616976fad6f5a09c1d3f.zip
powder-d7e12b7b430435ba7ae9616976fad6f5a09c1d3f.tar.gz
Missing includes and declarations for Linux
Diffstat (limited to 'src/Misc.cpp')
-rw-r--r--src/Misc.cpp6
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)