Missing includes and declarations for Linux

This commit is contained in:
Simon Robertshaw 2012-06-13 14:36:56 +01:00
parent c447dd2f4a
commit d7e12b7b43
2 changed files with 10 additions and 0 deletions

View File

@ -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)

View File

@ -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 {\