From f066bbe98a4fa116eeda1b0487d2e0dc5726e0bb Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" 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 2f6590dab..09efd645e 100644 --- a/src/video/x11/SDL_x11video.h +++ b/src/video/x11/SDL_x11video.h @@ -25,30 +25,6 @@ #include "../SDL_sysvideo.h" -#include -#include -#include -#include - -#ifdef SDL_VIDEO_DRIVER_X11_XCURSOR -#include -#endif -#ifdef SDL_VIDEO_DRIVER_X11_XDBE -#include -#endif -#ifdef SDL_VIDEO_DRIVER_X11_XINPUT2 -#include -#endif -#ifdef SDL_VIDEO_DRIVER_X11_XRANDR -#include -#endif -#ifdef SDL_VIDEO_DRIVER_X11_XSCRNSAVER -#include -#endif -#ifdef SDL_VIDEO_DRIVER_X11_XSHAPE -#include -#endif - #include "../../core/linux/SDL_dbus.h" #include "../../core/linux/SDL_ime.h"