From: Vinson Lee Date: Thu, 30 Dec 2010 09:40:53 +0000 (-0800) Subject: tgsi: Clean up header file inclusion in tgsi_sanity.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=20a0f342833b61ebbfb0b8c622fd0c18fad59b7d;p=mesa.git tgsi: Clean up header file inclusion in tgsi_sanity.h. --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_sanity.h b/src/gallium/auxiliary/tgsi/tgsi_sanity.h index 73f0f414e3f..707d11ec6dd 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_sanity.h +++ b/src/gallium/auxiliary/tgsi/tgsi_sanity.h @@ -28,12 +28,14 @@ #ifndef TGSI_SANITY_H #define TGSI_SANITY_H -#include "pipe/p_shader_tokens.h" - #if defined __cplusplus extern "C" { #endif +#include "pipe/p_compiler.h" + +struct tgsi_token; + /* Check the given token stream for errors and common mistakes. * Diagnostic messages are printed out to the debug output, and is * controlled by the debug option TGSI_PRINT_SANITY (default false).