summaryrefslogtreecommitdiffstats
path: root/tests/headers-protocol-core-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers-protocol-core-test.c')
-rw-r--r--tests/headers-protocol-core-test.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/headers-protocol-core-test.c b/tests/headers-protocol-core-test.c
index aabcb0b..5c2baf3 100644
--- a/tests/headers-protocol-core-test.c
+++ b/tests/headers-protocol-core-test.c
@@ -26,6 +26,13 @@
#include "wayland-client-protocol-core.h"
#include "wayland-server-protocol-core.h"
+#ifndef WAYLAND_CLIENT_CORE_H
+#error including wayland-client-protocol-core.h did not include wayland-client-core.h!
+#endif
+#ifndef WAYLAND_SERVER_CORE_H
+#error including wayland-server-protocol-core.h did not include wayland-server-core.h!
+#endif
+
#ifdef WAYLAND_CLIENT_H
#error including wayland-client-protocol-core.h included wayland-client.h!
#endif