include glheader.h instead of system headers
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 26 May 2000 16:17:00 +0000 (16:17 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 26 May 2000 16:17:00 +0000 (16:17 +0000)
src/mesa/drivers/glide/fxdrv.h
src/mesa/drivers/osmesa/osmesa.c
src/mesa/x86/x86.c

index 79976042abfe80a5d9fba9c9459cc4a025286e82..c85c73d8e23efe12e92624947f8508c249e49713 100644 (file)
  * you turn debugging on/off from the debugger.
  */
 
-#ifndef XFree86Server
-#include <math.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <limits.h>
-#include <assert.h>
-#else 
+#ifdef XFree86Server
 #include "GL/xf86glx.h"
+#else 
+#include "glheader.h"
 #endif
 
 
index ee00032b1168996e3f085066702625a57b57cd8b..081dbc4e190083054dac9238c0140f86467e7ecb 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: osmesa.c,v 1.17 2000/05/26 14:44:59 brianp Exp $ */
+/* $Id: osmesa.c,v 1.18 2000/05/26 16:17:00 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -38,8 +38,7 @@
 #ifdef PC_HEADER
 #include "all.h"
 #else
-#include <stdlib.h>
-#include <string.h>
+#include "glheader.h"
 #include "GL/osmesa.h"
 #include "context.h"
 #include "depth.h"
index 3696cd818ba16b77be0835be1eb87f1993365cd3..d6c4f31084cd960231d312d0216662d6df89b147 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: x86.c,v 1.6 2000/05/05 17:02:33 brianp Exp $ */
+/* $Id: x86.c,v 1.7 2000/05/26 16:17:00 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
  */
 
 
-#include <limits.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <math.h>
-
+#include "glheader.h"
 #include "context.h"
 #include "types.h"
 #include "vertices.h"