[PATCH] test/ivi: include protocol headers for all used protocols
Bill Spitzak
spitzak at gmail.com
Thu May 21 19:20:57 PDT 2015
This seems like a good idea for consistency as the client and server
protocol should not be treated differently than others. This means the
code will compile even if the protocol headers are generated with the
core only (-c) switch.
---
clients/ivi-shell-user-interface.c | 1 +
tests/weston-test-client-helper.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/clients/ivi-shell-user-interface.c b/clients/ivi-shell-user-interface.c
index a83f9ad..031e9a9 100644
--- a/clients/ivi-shell-user-interface.c
+++ b/clients/ivi-shell-user-interface.c
@@ -37,6 +37,7 @@
#include "../shared/os-compatibility.h"
#include "ivi-application-client-protocol.h"
#include "ivi-hmi-controller-client-protocol.h"
+#include "wayland-client-protocol.h"
/**
* A reference implementation how to use ivi-hmi-controller interface to
diff --git a/tests/weston-test-client-helper.h b/tests/weston-test-client-helper.h
index 8635471..5284b68 100644
--- a/tests/weston-test-client-helper.h
+++ b/tests/weston-test-client-helper.h
@@ -29,6 +29,7 @@
#include <stdbool.h>
#include "weston-test-runner.h"
#include "weston-test-client-protocol.h"
+#include "wayland-client-protocol.h"
struct client {
struct wl_display *wl_display;
--
1.7.9.5
More information about the wayland-devel
mailing list