From 0b86b6808a06c482ea2bdef9f24be42e0dcb74ae Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Tue, 11 May 2021 05:14:16 +0100 Subject: [PATCH] tests: Fix -Wodr warning compiling tests with LTO enabled Avoid the compiler to see 2 different defines of the same structure. Reported by Tomasz Kłoczko in https://gitlab.freedesktop.org/spice/spice/-/issues/44 Signed-off-by: Frediano Ziglio --- server/tests/test-display-base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/tests/test-display-base.h b/server/tests/test-display-base.h index 4e86509..a5e1f1b 100644 --- a/server/tests/test-display-base.h +++ b/server/tests/test-display-base.h @@ -18,7 +18,7 @@ #ifndef __TEST_DISPLAY_BASE_H__ #define __TEST_DISPLAY_BASE_H__ -#include +#include "spice-wrapped.h" #include "basic-event-loop.h" SPICE_BEGIN_DECLS -- libgit2 1.3.0