From 4bc81af7267672023a415ac6140a050de8d7784c Mon Sep 17 00:00:00 2001 From: alexei-zebra Date: Sat, 10 Oct 2026 16:10:04 +0300 Subject: [PATCH] Include glfw3.h before glfw3native.h glfw3native.h needs the GLFWmonitor, GLFWwindow and GLFWAPI declarations of glfw3.h, so the windows build failed on the win32 branch. Only that branch is affected: x11 resolves the GLFW accessors with dlsym and does not include the native header at all. --- src/window/detail/FrameOperations.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/window/detail/FrameOperations.cpp b/src/window/detail/FrameOperations.cpp index 6f9009888..530869769 100644 --- a/src/window/detail/FrameOperations.cpp +++ b/src/window/detail/FrameOperations.cpp @@ -164,6 +164,8 @@ namespace { #include #include +#include + #define GLFW_EXPOSE_NATIVE_WIN32 #include