From e9ecc6728f45eee7eebe4691a55181ac90f8b281 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 10 Oct 2018 14:14:48 +0200 Subject: [PATCH] Always include X11 headers from the private X11 display header Commit 28ab24cd5596e40cda866427ffa6cd16eff73e58 excluded too much in wxUSE_DISPLAY==0 case, we still need X11 headers when not using wxUSE_DISPLAY. --- include/wx/unix/private/displayx11.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/wx/unix/private/displayx11.h b/include/wx/unix/private/displayx11.h index 0a139a1d3e..c78b213b09 100644 --- a/include/wx/unix/private/displayx11.h +++ b/include/wx/unix/private/displayx11.h @@ -12,14 +12,14 @@ #include "wx/defs.h" +#include +#include + #if wxUSE_DISPLAY #include "wx/log.h" #include "wx/translation.h" -#include -#include - #ifdef HAVE_X11_EXTENSIONS_XF86VMODE_H #include