In some cases, glheader.h is the right #include.
Also remove some instances of struct _glapi_table declarations.
Acked-by: Matt Turner <mattst88@gmail.com>
16 files changed:
#ifndef API_LOOPBACK_H
#define API_LOOPBACK_H
-#include "main/compiler.h"
#include "main/glheader.h" // ?
#include "main/macros.h" // ?
#include "main/mtypes.h" // ?
#ifndef ATIFRAGSHADER_H
#define ATIFRAGSHADER_H
-#include "compiler.h"
#include "glheader.h"
-struct _glapi_table;
+
struct gl_context;
#define MAX_NUM_INSTRUCTIONS_PER_PASS_ATI 8
#define ATTRIB_H
-#include "compiler.h"
#include "glheader.h"
struct _glapi_table;
#ifndef BLIT_H
#define BLIT_H
-#include "compiler.h"
#include "glheader.h"
#ifndef COLORTAB_H
#define COLORTAB_H
-
-#include "compiler.h"
#include "glheader.h"
struct _glapi_table;
#define CONVOLVE_H
-#include "compiler.h"
+#include "glheader.h"
struct _glapi_table;
#define DRAWPIX_H
-#include "compiler.h"
-
-struct _glapi_table;
+#include "glheader.h"
void GLAPIENTRY
#ifndef HISTOGRAM_H
#define HISTOGRAM_H
-#include "compiler.h"
+#include "glheader.h"
-struct _glapi_table;
void GLAPIENTRY
_mesa_GetnMinmaxARB(GLenum target, GLboolean reset, GLenum format,
#define PIXEL_H
-#include "compiler.h"
#include "glheader.h"
-struct _glapi_table;
struct gl_context;
#define RASTPOS_H
-#include "compiler.h"
+#include "glheader.h"
+
struct _glapi_table;
struct gl_context;
#define REMAP_H
-#include "main/compiler.h"
-
struct gl_function_pool_remap {
int pool_index;
int remap_index;
#ifndef TEXCOMPRESS_S3TC_H
#define TEXCOMPRESS_S3TC_H
-#include "compiler.h"
#include "glheader.h"
#include "texstore.h"
#include "texcompress.h"
#define TEXGEN_H
-#include "compiler.h"
#include "glheader.h"
struct _glapi_table;
#ifndef _VTXFMT_H_
#define _VTXFMT_H_
-#include "compiler.h"
#include "mtypes.h"
extern void _mesa_install_exec_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt );
#ifndef _M_TRANSLATE_H_
#define _M_TRANSLATE_H_
-#include "main/compiler.h"
#include "main/glheader.h"
/**
#include "../glsl/program.h"
#include "ir_uniform.h"
-#include "main/compiler.h"
#include "main/mtypes.h"
#include "program/hash_table.h"
#include "program/prog_parameter.h"