The shared header, internal.h, must be the first header included in every compilation unit of GLFW. (cherry picked from commit 291f4d89cd3019b5d0be4fd5d97699036d1b0a67)
@@ -27,13 +27,12 @@
// Please use C89 style variable declarations in this file because VS 2010
//========================================================================
+#include "internal.h"
+
#include <stdlib.h>
#include <string.h>
#include <assert.h>
-#include "internal.h"
-
static void makeContextCurrentOSMesa(_GLFWwindow* window)
{
if (window)