r600g: Fix implicit declaration warning.
authorVinson Lee <vlee@vmware.com>
Fri, 17 Sep 2010 21:06:23 +0000 (14:06 -0700)
committerVinson Lee <vlee@vmware.com>
Fri, 17 Sep 2010 21:06:23 +0000 (14:06 -0700)
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

index f6fba0a8dc5c8f569fa516eea1424c9f3a30f411..e33b63d405b35456deed480a5a97eebcbe682f57 100644 (file)
@@ -28,6 +28,7 @@
 #include <string.h>
 #include <stdlib.h>
 #include <assert.h>
+#include "xf86drm.h"
 #include "r600.h"
 #include "r600d.h"
 #include "r600_priv.h"