summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-02-24 17:56:45 -0700
committerBrian Paul <[email protected]>2015-02-26 08:38:39 -0700
commit95855dd32f4228d3c99e040b76f4357593b4b5a4 (patch)
tree6b95aa6734b4d50e4f7b1e96db23634349906895 /src/mesa/drivers
parent4f25a180115d6f7a6149ba8285a394e10aa04ef2 (diff)
mesa: don't include math.h in compiler.h
Not needed by anything in that header. Include math.h or c99_math.h where needed instead. Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/common/xmlconfig.c1
-rw-r--r--src/mesa/drivers/x11/xm_tri.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/xmlconfig.c b/src/mesa/drivers/dri/common/xmlconfig.c
index 518b4da994c..6357e92c59a 100644
--- a/src/mesa/drivers/dri/common/xmlconfig.c
+++ b/src/mesa/drivers/dri/common/xmlconfig.c
@@ -32,6 +32,7 @@
#include <assert.h>
#include <expat.h>
#include <fcntl.h>
+#include <math.h>
#include <unistd.h>
#include <errno.h>
#include "main/imports.h"
diff --git a/src/mesa/drivers/x11/xm_tri.c b/src/mesa/drivers/x11/xm_tri.c
index e9ec67640dc..528d10b2730 100644
--- a/src/mesa/drivers/x11/xm_tri.c
+++ b/src/mesa/drivers/x11/xm_tri.c
@@ -30,6 +30,7 @@
*/
+#include "c99_math.h"
#include "main/imports.h"
#include "main/mtypes.h"
#include "glxheader.h"