mesa: trim down #includes in compiler.h

Don't include stuff we don't need.  Fix a few #includes elsewhere to
keep thing building.

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:48:31 -07:00
parent 538e13d4a1
commit 4f25a18011
4 changed files with 4 additions and 5 deletions

View File

@ -36,9 +36,6 @@
#include <assert.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "util/macros.h"

View File

@ -23,7 +23,7 @@
*/
#include "main/compiler.h"
#include "main/imports.h"
#include "main/cpuinfo.h"

View File

@ -36,6 +36,8 @@
#define IMPORTS_H
#include <stdlib.h>
#include <string.h>
#include "compiler.h"
#include "glheader.h"
#include "errors.h"

View File

@ -28,7 +28,7 @@
* \author Ian Romanick <ian.d.romanick@intel.com>
*/
#include "main/compiler.h"
#include "main/imports.h"
#include "main/mtypes.h"
#include "prog_parameter.h"
#include "prog_parameter_layout.h"