From: Marek Olšák Date: Sun, 14 Feb 2010 02:14:32 +0000 (+0100) Subject: r300g: fix scons build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=804a6d6a684e2a95e8b84c723a4096243c4fde1a;p=mesa.git r300g: fix scons build --- diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c index 14820ca8547..f631b4ed27f 100644 --- a/src/gallium/drivers/r300/r300_context.c +++ b/src/gallium/drivers/r300/r300_context.c @@ -34,7 +34,8 @@ #include "r300_screen.h" #include "r300_state_invariant.h" #include "r300_texture.h" -#include "r300_winsys.h" + +#include "radeon_winsys.h" static void r300_destroy_context(struct pipe_context* context) { diff --git a/src/gallium/drivers/r300/r300_winsys.h b/src/gallium/drivers/r300/r300_winsys.h index f4a8ae120c8..40fb8a95ca5 100644 --- a/src/gallium/drivers/r300/r300_winsys.h +++ b/src/gallium/drivers/r300/r300_winsys.h @@ -33,9 +33,8 @@ extern "C" { #include "pipe/p_defines.h" #include "pipe/p_state.h" -#include "util/u_simple_screen.h" -#include "radeon_winsys.h" +struct radeon_winsys; /* Creates a new r300 screen. */ struct pipe_screen* r300_create_screen(struct radeon_winsys* radeon_winsys);