From d56e46577e674f8068f44a2c77a5a0a42d733068 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Fri, 17 Sep 2010 14:06:23 -0700 Subject: [PATCH] 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' --- src/gallium/winsys/r600/drm/r600_state2.c | 1 + 1 file changed, 1 insertion(+) 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" -- 2.30.2