SDL: x11: Don't include system headers twice.

From f066bbe98a4fa116eeda1b0487d2e0dc5726e0bb Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Fri, 25 Aug 2023 19:41:18 -0400
Subject: [PATCH] x11: Don't include system headers twice.

SDL_x11dyn.h also handles this.
---
 src/video/x11/SDL_x11video.h | 24 ------------------------
 1 file changed, 24 deletions(-)

diff --git a/src/video/x11/SDL_x11video.h b/src/video/x11/SDL_x11video.h
index 2f6590dab795..09efd645e504 100644
--- a/src/video/x11/SDL_x11video.h
+++ b/src/video/x11/SDL_x11video.h
@@ -25,30 +25,6 @@
 
 #include "../SDL_sysvideo.h"
 
-#include <X11/Xlib.h>
-#include <X11/Xutil.h>
-#include <X11/Xatom.h>
-#include <X11/Xresource.h>
-
-#ifdef SDL_VIDEO_DRIVER_X11_XCURSOR
-#include <X11/Xcursor/Xcursor.h>
-#endif
-#ifdef SDL_VIDEO_DRIVER_X11_XDBE
-#include <X11/extensions/Xdbe.h>
-#endif
-#ifdef SDL_VIDEO_DRIVER_X11_XINPUT2
-#include <X11/extensions/XInput2.h>
-#endif
-#ifdef SDL_VIDEO_DRIVER_X11_XRANDR
-#include <X11/extensions/Xrandr.h>
-#endif
-#ifdef SDL_VIDEO_DRIVER_X11_XSCRNSAVER
-#include <X11/extensions/scrnsaver.h>
-#endif
-#ifdef SDL_VIDEO_DRIVER_X11_XSHAPE
-#include <X11/extensions/shape.h>
-#endif
-
 #include "../../core/linux/SDL_dbus.h"
 #include "../../core/linux/SDL_ime.h"