diff options
author | Brian Paul <brianp@vmware.com> | 2015-02-24 17:56:45 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2015-02-26 08:38:39 -0700 |
commit | 95855dd32f4228d3c99e040b76f4357593b4b5a4 (patch) | |
tree | 6b95aa6734b4d50e4f7b1e96db23634349906895 /src/mesa/main | |
parent | 4f25a180115d6f7a6149ba8285a394e10aa04ef2 (diff) | |
download | external_mesa3d-95855dd32f4228d3c99e040b76f4357593b4b5a4.zip external_mesa3d-95855dd32f4228d3c99e040b76f4357593b4b5a4.tar.gz external_mesa3d-95855dd32f4228d3c99e040b76f4357593b4b5a4.tar.bz2 |
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 <mattst88@gmail.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/compiler.h | 1 | ||||
-rw-r--r-- | src/mesa/main/imports.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h index a700ff9..e644e23 100644 --- a/src/mesa/main/compiler.h +++ b/src/mesa/main/compiler.h @@ -35,7 +35,6 @@ #include <assert.h> -#include <math.h> #include "util/macros.h" diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index 896b11e..752cf5a 100644 --- a/src/mesa/main/imports.c +++ b/src/mesa/main/imports.c @@ -43,6 +43,7 @@ */ #include <stdarg.h> +#include "c99_math.h" #include "imports.h" #include "context.h" #include "mtypes.h" |