diff options
author | Vinson Lee <[email protected]> | 2015-02-26 21:00:15 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2015-02-26 21:01:32 -0800 |
commit | 8170eba7e7c37235bd5fad2f9adfdd0eda8e3246 (patch) | |
tree | c4ba8154cfd27d4e1f2c4e218f9efcd27cb96e79 /src/gallium/drivers/r300/compiler/tests | |
parent | 40cfa0c347d60d4542128abecc5bd21c675f1131 (diff) |
r300g/tests: Include stdio.h.
Fix build error.
CC compiler/tests/r300_compiler_tests-radeon_compiler_regalloc_tests.o
compiler/tests/radeon_compiler_regalloc_tests.c: In function ‘test_runner_rc_regalloc’:
compiler/tests/radeon_compiler_regalloc_tests.c:57:3: error: implicit declaration of function ‘fprintf’ [-Werror=implicit-function-declaration]
fprintf(stderr, "Failed to load program\n");
^
Signed-off-by: Vinson Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300/compiler/tests')
-rw-r--r-- | src/gallium/drivers/r300/compiler/tests/radeon_compiler_regalloc_tests.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/compiler/tests/radeon_compiler_regalloc_tests.c b/src/gallium/drivers/r300/compiler/tests/radeon_compiler_regalloc_tests.c index 5306b08aa7c..e1b6b248fe2 100644 --- a/src/gallium/drivers/r300/compiler/tests/radeon_compiler_regalloc_tests.c +++ b/src/gallium/drivers/r300/compiler/tests/radeon_compiler_regalloc_tests.c @@ -23,6 +23,8 @@ * Author: Tom Stellard <[email protected]> */ +#include <stdio.h> + #include "radeon_program_pair.h" #include "r300_compiler_tests.h" |