Update to make compilation possible of 2.4.x on Arch.

This commit is contained in:
Jeremy Laviole 2021-11-25 11:28:31 +01:00 committed by Lukas Dürrenberger
parent b7be4b299e
commit 32c2c1926a
2 changed files with 3 additions and 2 deletions

View File

@ -25,8 +25,8 @@
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/Window/Unix/WindowImplX11.hpp> // important to be included first (conflict with None)
#include <SFML/Window/Unix/GlxContext.hpp>
#include <SFML/Window/Unix/WindowImplX11.hpp>
#include <SFML/Window/Unix/Display.hpp>
#include <SFML/System/Mutex.hpp>
#include <SFML/System/Lock.hpp>

View File

@ -25,11 +25,12 @@
#ifndef SF_POINTER_C_GENERATED_HEADER_GLXWIN_HPP
#define SF_POINTER_C_GENERATED_HEADER_GLXWIN_HPP
#ifdef __glxext_h_
#if defined(__glxext_h_) || defined(__glx_glxext_h_)
#error Attempt to include glx_exts after including glxext.h
#endif
#define __glxext_h_
#define __glx_glxext_h_
#include <X11/Xlib.h>
#include <X11/Xutil.h>