From: Chad Versace Date: Sat, 28 Jan 2012 00:44:26 +0000 (-0800) Subject: swrast: Fix implicit declaration warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ab1195cf1127781909d5158c7de68f8732458d75;p=mesa.git swrast: Fix implicit declaration warnings In a recent commit, commit 1c0f1dd42a50464eeb81de4aad8eecf24b3d6c89 Author: Chad Versace swrast: Fix fixed-function fragment processing I defined a new function,_swrast_fragment_program, but neglected to #include s_fragprog.h for clients of that function. Note: This is a candidate for the 8.0 branch. Reported-by: Brian Paul Signed-off-by: Chad Versace --- diff --git a/src/mesa/swrast/s_context.h b/src/mesa/swrast/s_context.h index ae239a9a806..363bdf03ad5 100644 --- a/src/mesa/swrast/s_context.h +++ b/src/mesa/swrast/s_context.h @@ -47,6 +47,7 @@ #include "main/mtypes.h" #include "program/prog_execute.h" #include "swrast.h" +#include "s_fragprog.h" #include "s_span.h"