aboutsummaryrefslogtreecommitdiffstats
path: root/tests/data/small-client-core.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/small-client-core.h')
-rw-r--r--tests/data/small-client-core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/data/small-client-core.h b/tests/data/small-client-core.h
index c85cca6..d424757 100644
--- a/tests/data/small-client-core.h
+++ b/tests/data/small-client-core.h
@@ -46,6 +46,8 @@ struct another_intf;
struct intf_A;
struct intf_not_here;
+#ifndef INTF_A_INTERFACE
+#define INTF_A_INTERFACE
/**
* @page page_iface_intf_A intf_A
* @section page_iface_intf_A_desc Description
@@ -60,6 +62,7 @@ struct intf_not_here;
* A useless example trying to tickle the scanner.
*/
extern const struct wl_interface intf_A_interface;
+#endif
#ifndef INTF_A_FOO_ENUM
#define INTF_A_FOO_ENUM