Commit 7adb08a79a5decee03379363aff07aa1d350acb3

Ozkan Sezer 2022-06-22T01:37:00

fixed SDL_BlitMap typedef redefinition errors

diff --git a/src/video/SDL_blit.h b/src/video/SDL_blit.h
index e00ba68..2f99fa8 100644
--- a/src/video/SDL_blit.h
+++ b/src/video/SDL_blit.h
@@ -90,7 +90,8 @@ typedef struct
 } SDL_BlitFuncEntry;
 
 /* Blit mapping definition */
-typedef struct SDL_BlitMap
+/* typedef'ed in SDL_surface.h */
+struct SDL_BlitMap
 {
     SDL_Surface *dst;
     int identity;
@@ -102,7 +103,7 @@ typedef struct SDL_BlitMap
        an invalid mapping */
     Uint32 dst_palette_version;
     Uint32 src_palette_version;
-} SDL_BlitMap;
+};
 
 /* Functions found in SDL_blit.c */
 extern int SDL_CalculateBlit(SDL_Surface * surface);