From: Vinson Lee Date: Sat, 10 Jul 2010 07:15:27 +0000 (-0700) Subject: r600: Fix GCC 'implication declaration of function' warnings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8dc6d7610fa2e639b6cdbc8b4e277563cfd87a5e;p=mesa.git r600: Fix GCC 'implication declaration of function' warnings. Fix GCC 'implicit declaration of function' compiler warnings resulting from commit 00fb58ed5d7104e675fe48d84e5049e5f7dbb9d7. --- diff --git a/src/mesa/drivers/dri/r600/r700_fragprog.c b/src/mesa/drivers/dri/r600/r700_fragprog.c index aab1a7947ab..bf17a977ce4 100644 --- a/src/mesa/drivers/dri/r600/r700_fragprog.c +++ b/src/mesa/drivers/dri/r600/r700_fragprog.c @@ -38,6 +38,7 @@ #include "r600_context.h" #include "r600_cmdbuf.h" +#include "r600_emit.h" #include "r700_fragprog.h" diff --git a/src/mesa/drivers/dri/r600/r700_vertprog.c b/src/mesa/drivers/dri/r600/r700_vertprog.c index 32f538f1c37..137f3007ced 100644 --- a/src/mesa/drivers/dri/r600/r700_vertprog.c +++ b/src/mesa/drivers/dri/r600/r700_vertprog.c @@ -42,6 +42,7 @@ #include "radeon_debug.h" #include "r600_context.h" #include "r600_cmdbuf.h" +#include "r600_emit.h" #include "program/programopt.h" #include "r700_debug.h"