include/SDL_compat.h
branchSDL-1.3
changeset 1712 931d111e737a
parent 1683 396a35389351
child 1713 3e66ed1690e4
     1.1 --- a/include/SDL_compat.h	Mon Jun 26 05:27:34 2006 +0000
     1.2 +++ b/include/SDL_compat.h	Mon Jun 26 13:56:56 2006 +0000
     1.3 @@ -26,7 +26,7 @@
     1.4  #define _SDL_compat_h
     1.5  
     1.6  #include "SDL_video.h"
     1.7 -#include "SDL_syswm.h"
     1.8 +#include "SDL_version.h"
     1.9  
    1.10  #include "begin_code.h"
    1.11  /* Set up for C function definitions, even when using C++ */
    1.12 @@ -117,6 +117,8 @@
    1.13      SDL_GRAB_ON = 1
    1.14  } SDL_GrabMode;
    1.15  
    1.16 +struct SDL_SysWMinfo;
    1.17 +
    1.18  #define SDL_AllocSurface    SDL_CreateRGBSurface
    1.19  
    1.20  extern DECLSPEC const SDL_version *SDLCALL SDL_Linked_Version(void);
    1.21 @@ -151,7 +153,7 @@
    1.22  extern DECLSPEC int SDLCALL SDL_SetColors(SDL_Surface * surface,
    1.23                                            const SDL_Color * colors,
    1.24                                            int firstcolor, int ncolors);
    1.25 -extern DECLSPEC int SDLCALL SDL_GetWMInfo(SDL_SysWMinfo * info);
    1.26 +extern DECLSPEC int SDLCALL SDL_GetWMInfo(struct SDL_SysWMinfo * info);
    1.27  extern DECLSPEC Uint8 SDLCALL SDL_GetAppState(void);
    1.28  extern DECLSPEC void SDLCALL SDL_WarpMouse(Uint16 x, Uint16 y);
    1.29  extern DECLSPEC SDL_Overlay *SDLCALL SDL_CreateYUVOverlay(int width,