diff options
author | Frediano Ziglio <freddy77@gmail.com> | 2021-05-11 05:14:16 +0100 |
---|---|---|
committer | Frediano Ziglio <freddy77@gmail.com> | 2021-05-18 10:14:21 +0100 |
commit | 0b86b6808a06c482ea2bdef9f24be42e0dcb74ae (patch) | |
tree | ded9d53d3954b022d3aa4951cd3c4062a1d2895a | |
parent | cb9bd1b09e1dcab2c58e0fd5c49e965edaec7c07 (diff) |
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 <freddy77@gmail.com>
-rw-r--r-- | server/tests/test-display-base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/test-display-base.h b/server/tests/test-display-base.h index 4e865093..a5e1f1b2 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 <spice.h> +#include "spice-wrapped.h" #include "basic-event-loop.h" SPICE_BEGIN_DECLS |