summaryrefslogtreecommitdiff
path: root/src/Misc.h
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.h
parentc447dd2f4a0f90060604d65a043c9544b423da7b (diff)
downloadpowder-d7e12b7b430435ba7ae9616976fad6f5a09c1d3f.zip
powder-d7e12b7b430435ba7ae9616976fad6f5a09c1d3f.tar.gz
Missing includes and declarations for Linux
Diffstat (limited to 'src/Misc.h')
-rw-r--r--src/Misc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Misc.h b/src/Misc.h
index db391b0..e35ce5f 100644
--- a/src/Misc.h
+++ b/src/Misc.h
@@ -4,6 +4,10 @@
#include <stdlib.h>
#include <string>
+#if defined(USE_SDL) && (defined(LIN32) || defined(LIN64)) && defined(SDL_VIDEO_DRIVER_X11)
+#include <SDL/SDL_syswm.h>
+#endif
+
#if defined(WIN32) && !defined(__GNUC__)
#define x86_cpuid(func,af,bf,cf,df) \
do {\