diff --git a/lib/glext.c b/lib/glext.c index 84b529ee..296c7f51 100644 --- a/lib/glext.c +++ b/lib/glext.c @@ -30,6 +30,8 @@ #include "internal.h" +#include + //************************************************************************ //**** GLFW internal functions **** diff --git a/lib/init.c b/lib/init.c index 05866c5f..7f77ff33 100644 --- a/lib/init.c +++ b/lib/init.c @@ -31,6 +31,8 @@ #define _init_c_ #include "internal.h" +#include + //************************************************************************ //**** GLFW user functions **** diff --git a/lib/internal.h b/lib/internal.h index 0b23ca6a..80469dd2 100644 --- a/lib/internal.h +++ b/lib/internal.h @@ -51,15 +51,6 @@ #define GLFW_STICK 2 -//======================================================================== -// System independent include files -//======================================================================== - -#include -#include -#include - - //------------------------------------------------------------------------ // Window opening hints (set by glfwOpenWindowHint) // A bucket of semi-random stuff bunched together for historical reasons diff --git a/lib/window.c b/lib/window.c index 0dc6b3b4..cce7826c 100644 --- a/lib/window.c +++ b/lib/window.c @@ -31,6 +31,7 @@ #include "internal.h" #include +#include //************************************************************************ diff --git a/lib/x11/x11_fullscreen.c b/lib/x11/x11_fullscreen.c index 93f842fb..1d3a4f01 100644 --- a/lib/x11/x11_fullscreen.c +++ b/lib/x11/x11_fullscreen.c @@ -31,6 +31,7 @@ #include "internal.h" #include +#include //************************************************************************ diff --git a/lib/x11/x11_init.c b/lib/x11/x11_init.c index d0915b7d..15603965 100644 --- a/lib/x11/x11_init.c +++ b/lib/x11/x11_init.c @@ -30,6 +30,8 @@ #include "internal.h" +#include + //************************************************************************ //**** GLFW internal functions **** diff --git a/lib/x11/x11_window.c b/lib/x11/x11_window.c index e6cb5e8b..7a12edce 100644 --- a/lib/x11/x11_window.c +++ b/lib/x11/x11_window.c @@ -31,6 +31,9 @@ #include "internal.h" #include +#include +#include +#include /* Define GLX 1.4 FSAA tokens if not already defined */