OSMesa: Fix headers included before shared header

The shared header, internal.h, must be the first header included in
every compilation unit of GLFW.

(cherry picked from commit 291f4d89cd)
This commit is contained in:
Camilla Löwy 2024-01-24 15:32:32 +01:00
parent d172fec64b
commit 15b771759d

View File

@ -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)