projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36033a6
)
r600g: Fix implicit declaration warning.
author
Vinson Lee
<vlee@vmware.com>
Fri, 17 Sep 2010 21:06:23 +0000
(14:06 -0700)
committer
Vinson 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
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/r600/drm/r600_state2.c
b/src/gallium/winsys/r600/drm/r600_state2.c
index f6fba0a8dc5c8f569fa516eea1424c9f3a30f411..e33b63d405b35456deed480a5a97eebcbe682f57 100644
(file)
--- a/
src/gallium/winsys/r600/drm/r600_state2.c
+++ b/
src/gallium/winsys/r600/drm/r600_state2.c
@@
-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"