From a4d06b6c88a898fa60a2dd619a4edd9e0157a2b1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 31 Jul 2021 23:49:56 +0100 Subject: [PATCH] Explicitly include wx/scopedptr.h when using wxScopedPtr Don't rely on it being implicitly included from other headers. --- src/unix/glegl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/unix/glegl.cpp b/src/unix/glegl.cpp index 7e78b9897d..fa4ad29b51 100644 --- a/src/unix/glegl.cpp +++ b/src/unix/glegl.cpp @@ -26,6 +26,8 @@ #include "wx/log.h" #endif //WX_PRECOMP +#include "wx/scopedptr.h" + #include "wx/gtk/private/wrapgtk.h" #ifdef GDK_WINDOWING_WAYLAND #include