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>
This commit is contained in:
Frediano Ziglio 2021-05-11 05:14:16 +01:00
parent cb9bd1b09e
commit 0b86b6808a

View File

@ -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