sdl12-compat: build fix:

From dae11192d8439769480acbcbf7709d9beb475646 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 1 Sep 2021 17:56:28 +0300
Subject: [PATCH] build fix:
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

SDL12_compat.c:587: error: using typedef-name ‘SDL_SYSWM_TYPE’ after ‘enum’
/opt/SDL2/include/SDL2/SDL_syswm.h:147: error: ‘SDL_SYSWM_TYPE’ has a previous declaration here

this showed itself only in c++ mode..
---
 src/SDL12_compat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c
index 3f9cfd0..9331d4c 100644
--- a/src/SDL12_compat.c
+++ b/src/SDL12_compat.c
@@ -584,7 +584,7 @@ typedef struct SDL12_keysym
 #define SDL12_PRESSED  1
 
 #if defined(SDL_VIDEO_DRIVER_X11)  /* SDL_VIDEO_DRIVER_X11 refers to the SDL2 headers. */
-typedef enum SDL_SYSWM_TYPE  /* this is only used for 1.2 X11 syswm */
+typedef enum  /* this is only used for 1.2 X11 syswm */
 {
     SDL12_SYSWM_X11
 } SDL12_SYSWM_TYPE;