summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-05-26 16:17:00 +0000
committerBrian Paul <[email protected]>2000-05-26 16:17:00 +0000
commiteed6f691991ed0d64752fa712c83f67eb700b9ad (patch)
treee17e1a328bf7470dd51f0ae8297d8f86f58f92ab /src/mesa/drivers
parent1e0163272b8a7774db359b0d940d83a304efbd24 (diff)
include glheader.h instead of system headers
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/glide/fxdrv.h10
-rw-r--r--src/mesa/drivers/osmesa/osmesa.c5
2 files changed, 5 insertions, 10 deletions
diff --git a/src/mesa/drivers/glide/fxdrv.h b/src/mesa/drivers/glide/fxdrv.h
index 79976042abf..c85c73d8e23 100644
--- a/src/mesa/drivers/glide/fxdrv.h
+++ b/src/mesa/drivers/glide/fxdrv.h
@@ -50,14 +50,10 @@
* 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
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c
index ee00032b116..081dbc4e190 100644
--- a/src/mesa/drivers/osmesa/osmesa.c
+++ b/src/mesa/drivers/osmesa/osmesa.c
@@ -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"