summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-09-17 14:06:23 -0700
committerVinson Lee <[email protected]>2010-09-17 14:06:23 -0700
commitd56e46577e674f8068f44a2c77a5a0a42d733068 (patch)
tree1727fee2fda39151f83b23be1bc83845cf2127b5 /src/gallium/winsys
parent36033a6446cf2990c0b81a8f971e86a6cd4c8d6e (diff)
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'
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/r600/drm/r600_state2.c1
1 files changed, 1 insertions, 0 deletions
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 <string.h>
#include <stdlib.h>
#include <assert.h>
+#include "xf86drm.h"
#include "r600.h"
#include "r600d.h"
#include "r600_priv.h"