|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [Qemu-devel] [PATCH 1/6] tests/tcg/test_path.c: include utils/bufferiszero.c |
Date: | Wed, 2 Aug 2017 18:36:16 -0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
Hi Cleber, On 08/02/2017 05:15 PM, Cleber Rosa wrote:
Which contains one specific function used by iov.c. Without this, "make -C tests/tcg test_path" (and consequently "make -C tests/tcg" or simply "make test") fails quite early. Signed-off-by: Cleber Rosa <address@hidden> --- tests/tcg/test_path.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/tcg/test_path.c b/tests/tcg/test_path.c index 1c29bce..74dbdaf 100644 --- a/tests/tcg/test_path.c +++ b/tests/tcg/test_path.c @@ -3,6 +3,7 @@ #include "util/cutils.c" #include "util/hexdump.c" #include "util/iov.c" +#include "util/bufferiszero.c"
This fixes the build, however why not take this opportunity to fix it through the Makefile instead of including .c?
Regards, Phil.
#include "util/path.c" #include "util/qemu-timer-common.c" #include <stdarg.h>
[Prev in Thread] | Current Thread | [Next in Thread] |