From fd1435d1c04750893369067d75e0f667a88e0f6c Mon Sep 17 00:00:00 2001 From: Vittorio Romeo Date: Wed, 8 Jun 2022 12:57:36 +0200 Subject: [PATCH] Prevent more conflicts between the 'None' Xlib macro and 'WindowStyle::None' --- src/SFML/Window/Unix/ClipboardImpl.hpp | 1 + src/SFML/Window/Unix/Display.hpp | 1 + src/SFML/Window/Unix/GlxContext.hpp | 1 + 3 files changed, 3 insertions(+) diff --git a/src/SFML/Window/Unix/ClipboardImpl.hpp b/src/SFML/Window/Unix/ClipboardImpl.hpp index 7ee401776..38e1a6761 100644 --- a/src/SFML/Window/Unix/ClipboardImpl.hpp +++ b/src/SFML/Window/Unix/ClipboardImpl.hpp @@ -29,6 +29,7 @@ // Headers //////////////////////////////////////////////////////////// #include +#include // Prevent conflict with macro None from Xlib #include #include diff --git a/src/SFML/Window/Unix/Display.hpp b/src/SFML/Window/Unix/Display.hpp index 6591ea01e..7071b8af1 100644 --- a/src/SFML/Window/Unix/Display.hpp +++ b/src/SFML/Window/Unix/Display.hpp @@ -28,6 +28,7 @@ //////////////////////////////////////////////////////////// // Headers //////////////////////////////////////////////////////////// +#include // Prevent conflict with macro None from Xlib #include #include diff --git a/src/SFML/Window/Unix/GlxContext.hpp b/src/SFML/Window/Unix/GlxContext.hpp index fd91e0a8d..3829d941e 100644 --- a/src/SFML/Window/Unix/GlxContext.hpp +++ b/src/SFML/Window/Unix/GlxContext.hpp @@ -29,6 +29,7 @@ // Headers //////////////////////////////////////////////////////////// #include +#include // Prevent conflict with macro None from Xlib #include #include