diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2010-10-21 10:18:39 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-10-23 14:47:06 +0000 |
commit | 48118b020558bb4cde05894d9d8322a20cbb2f8d (patch) | |
tree | 5a2ccbd98f4cbad73b90086a62f0399c12e99751 /tests/test_path.c | |
parent | e311248b6442827820bfc7340ea1401caee3a0f1 (diff) |
fix test_path
path.c grew quite a few new dependencies (mostly via cutils.c),
include them.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tests/test_path.c')
-rw-r--r-- | tests/test_path.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/tests/test_path.c b/tests/test_path.c index def7441c8c..234ed97088 100644 --- a/tests/test_path.c +++ b/tests/test_path.c @@ -1,12 +1,21 @@ /* Test path override code */ -#define _GNU_SOURCE +#include "../config-host.h" +#include "../qemu-malloc.c" +#include "../cutils.c" #include "../path.c" +#include "../trace.c" +#ifdef CONFIG_SIMPLE_TRACE +#include "../simpletrace.c" +#endif + #include <stdarg.h> #include <sys/stat.h> #include <fcntl.h> +void qemu_log(const char *fmt, ...); + /* Any log message kills the test. */ -void gemu_log(const char *fmt, ...) +void qemu_log(const char *fmt, ...) { va_list ap; |