From: Vinson Lee Date: Tue, 14 Sep 2010 06:42:35 +0000 (-0700) Subject: i915: Fix "implicit declaration of function 'draw_get_shader_param'" warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d4d48c0579f7eb8d889ad325e8f1c9b4a95f6ed7;p=mesa.git i915: Fix "implicit declaration of function 'draw_get_shader_param'" warning. Fixes the following GCC warning. i915_screen.c: In function 'i915_get_shader_param': i915_screen.c:147: warning: implicit declaration of function 'draw_get_shader_param' --- diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index 34bd81f9bd6..98f1e7012f6 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -26,6 +26,7 @@ **************************************************************************/ +#include "draw/draw_context.h" #include "util/u_inlines.h" #include "util/u_memory.h" #include "util/u_string.h"