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:
@@ -36,9 +36,6 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "util/macros.h"
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#include "main/compiler.h"
|
||||
#include "main/imports.h"
|
||||
#include "main/cpuinfo.h"
|
||||
|
||||
|
||||
|
||||
@@ -36,6 +36,8 @@
|
||||
#define IMPORTS_H
|
||||
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "compiler.h"
|
||||
#include "glheader.h"
|
||||
#include "errors.h"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user