From: Vinson Lee Date: Fri, 17 Sep 2010 21:06:23 +0000 (-0700) Subject: r600g: Fix implicit declaration warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d56e46577e674f8068f44a2c77a5a0a42d733068;p=mesa.git r600g: Fix implicit declaration warning. Fixes this GCC warning. r600_state2.c: In function 'r600_context_flush': r600_state2.c:946: error: implicit declaration of function 'drmCommandWriteRead' --- diff --git a/src/gallium/winsys/r600/drm/r600_state2.c b/src/gallium/winsys/r600/drm/r600_state2.c index f6fba0a8dc5..e33b63d405b 100644 --- a/src/gallium/winsys/r600/drm/r600_state2.c +++ b/src/gallium/winsys/r600/drm/r600_state2.c @@ -28,6 +28,7 @@ #include #include #include +#include "xf86drm.h" #include "r600.h" #include "r600d.h" #include "r600_priv.h"