提交 48118b02 编写于 作者: P Paolo Bonzini 提交者: Blue Swirl

fix test_path

path.c grew quite a few new dependencies (mostly via cutils.c),
include them.
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 e311248b
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
$(call set-vpath, $(SRC_PATH)/tests) $(call set-vpath, $(SRC_PATH)/tests)
CFLAGS=-Wall -O2 -g -fno-strict-aliasing CFLAGS=-Wall -O2 -g -fno-strict-aliasing -I..
#CFLAGS+=-msse2 #CFLAGS+=-msse2
LDFLAGS= LDFLAGS=
......
/* Test path override code */ /* Test path override code */
#define _GNU_SOURCE #include "../config-host.h"
#include "../qemu-malloc.c"
#include "../cutils.c"
#include "../path.c" #include "../path.c"
#include "../trace.c"
#ifdef CONFIG_SIMPLE_TRACE
#include "../simpletrace.c"
#endif
#include <stdarg.h> #include <stdarg.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
void qemu_log(const char *fmt, ...);
/* Any log message kills the test. */ /* Any log message kills the test. */
void gemu_log(const char *fmt, ...) void qemu_log(const char *fmt, ...)
{ {
va_list ap; va_list ap;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册