From 197b4df87ffe3d697c1172c26ab3c8339da1188d Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Wed, 23 Dec 2020 14:36:38 +0100 Subject: [PATCH] Unix: Remove unnecessary includes of Spectre/Display/DisplayDescription.h --- source/Platform/Unix/X11Display.cpp | 1 - source/Platform/Unix/X11Display.h | 1 - source/Platform/Unix/X11Keyboard.cpp | 2 -- 3 files changed, 4 deletions(-) diff --git a/source/Platform/Unix/X11Display.cpp b/source/Platform/Unix/X11Display.cpp index c3eecf4..577ee10 100644 --- a/source/Platform/Unix/X11Display.cpp +++ b/source/Platform/Unix/X11Display.cpp @@ -1,5 +1,4 @@ -#include // Prevents conflict with X.h defining "None" #include #include #include "X11WindowEventHandler.h" diff --git a/source/Platform/Unix/X11Display.h b/source/Platform/Unix/X11Display.h index 1816c37..708e4ca 100644 --- a/source/Platform/Unix/X11Display.h +++ b/source/Platform/Unix/X11Display.h @@ -2,7 +2,6 @@ #ifndef PLATFORM_UNIX_X11DISPLAY_H #define PLATFORM_UNIX_X11DISPLAY_H -#include // Prevents conflict with X.h defining "None" #include #include #include diff --git a/source/Platform/Unix/X11Keyboard.cpp b/source/Platform/Unix/X11Keyboard.cpp index 5843f94..a7e30df 100644 --- a/source/Platform/Unix/X11Keyboard.cpp +++ b/source/Platform/Unix/X11Keyboard.cpp @@ -1,6 +1,4 @@ -#include // FIXME: Weird name clashes with Xlib.h - #include #include "X11Keyboard.h" #include "X11Display.h"