diff options
author | Vinson Lee <[email protected]> | 2010-09-17 14:06:23 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-09-17 14:06:23 -0700 |
commit | d56e46577e674f8068f44a2c77a5a0a42d733068 (patch) | |
tree | 1727fee2fda39151f83b23be1bc83845cf2127b5 | |
parent | 36033a6446cf2990c0b81a8f971e86a6cd4c8d6e (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'
-rw-r--r-- | src/gallium/winsys/r600/drm/r600_state2.c | 1 |
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" |