Made system header inclusion more conservative.

This commit is contained in:
Camilla Berglund 2010-09-08 17:01:39 +02:00
parent 4914fd6842
commit cdfbbaf78b
7 changed files with 11 additions and 9 deletions

View File

@ -30,6 +30,8 @@
#include "internal.h" #include "internal.h"
#include <string.h>
//************************************************************************ //************************************************************************
//**** GLFW internal functions **** //**** GLFW internal functions ****

View File

@ -31,6 +31,8 @@
#define _init_c_ #define _init_c_
#include "internal.h" #include "internal.h"
#include <string.h>
//************************************************************************ //************************************************************************
//**** GLFW user functions **** //**** GLFW user functions ****

View File

@ -51,15 +51,6 @@
#define GLFW_STICK 2 #define GLFW_STICK 2
//========================================================================
// System independent include files
//========================================================================
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
//------------------------------------------------------------------------ //------------------------------------------------------------------------
// Window opening hints (set by glfwOpenWindowHint) // Window opening hints (set by glfwOpenWindowHint)
// A bucket of semi-random stuff bunched together for historical reasons // A bucket of semi-random stuff bunched together for historical reasons

View File

@ -31,6 +31,7 @@
#include "internal.h" #include "internal.h"
#include <limits.h> #include <limits.h>
#include <string.h>
//************************************************************************ //************************************************************************

View File

@ -31,6 +31,7 @@
#include "internal.h" #include "internal.h"
#include <limits.h> #include <limits.h>
#include <stdlib.h>
//************************************************************************ //************************************************************************

View File

@ -30,6 +30,8 @@
#include "internal.h" #include "internal.h"
#include <stdio.h>
//************************************************************************ //************************************************************************
//**** GLFW internal functions **** //**** GLFW internal functions ****

View File

@ -31,6 +31,9 @@
#include "internal.h" #include "internal.h"
#include <limits.h> #include <limits.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
/* Define GLX 1.4 FSAA tokens if not already defined */ /* Define GLX 1.4 FSAA tokens if not already defined */