From e123f94939d5441f39383102e2af59088889fb96 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Thu, 14 Mar 2019 15:00:21 +0100 Subject: test-marshallers: Fix header guard test-marshallers.h is missing a #define _H_TEST_MARSHALLERS in order to prevent multiple #include for the same header. Signed-off-by: Christophe Fergeau Acked-by: Frediano Ziglio --- tests/test-marshallers.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/test-marshallers.h b/tests/test-marshallers.h index 4eab90f..7686067 100644 --- a/tests/test-marshallers.h +++ b/tests/test-marshallers.h @@ -1,6 +1,7 @@ -#include +#ifndef H_SPICE_COMMON_TEST_MARSHALLERS +#define H_SPICE_COMMON_TEST_MARSHALLERS -#ifndef _H_TEST_MARSHALLERS +#include typedef struct { uint32_t data_size; @@ -26,5 +27,5 @@ typedef struct { uint8_t data[0]; } SpiceMsgMainLenMessage; -#endif /* _H_TEST_MARSHALLERS */ +#endif /* H_SPICE_COMMON_TEST_MARSHALLERS */ -- cgit v1.2.3