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>
This commit is contained in:
Brian Paul
2015-02-24 17:56:45 -07:00
parent 4f25a18011
commit 95855dd32f
4 changed files with 3 additions and 1 deletions

View File

@@ -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"

View File

@@ -30,6 +30,7 @@
*/
#include "c99_math.h"
#include "main/imports.h"
#include "main/mtypes.h"
#include "glxheader.h"

View File

@@ -35,7 +35,6 @@
#include <assert.h>
#include <math.h>
#include "util/macros.h"

View File

@@ -43,6 +43,7 @@
*/
#include <stdarg.h>
#include "c99_math.h"
#include "imports.h"
#include "context.h"
#include "mtypes.h"