diff options
author | Bill Spitzak <spitzak@gmail.com> | 2015-08-06 16:24:59 +0100 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2015-08-06 16:24:59 +0100 |
commit | 2ccd9a2d6247d26975a8a846e9eb7a283c84a1ba (patch) | |
tree | bf3653efd63a11b27edda0f48140130eb6ea31be | |
parent | 61ed7b6bf06895b6e0ac8e3c5fff12e491449fd9 (diff) |
test/ivi: include protocol headers for all used protocols
This seems like a good idea for consistency that the protocol header
is included for any protocols used by the code. This also means the
code will compile with headers generated by wayland-scanner -c.
Fixed to use angle brackets.
Reviewed-by: Daniel Stone <daniels@collabora.com>
-rw-r--r-- | clients/ivi-shell-user-interface.c | 1 | ||||
-rw-r--r-- | tests/weston-test-client-helper.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/clients/ivi-shell-user-interface.c b/clients/ivi-shell-user-interface.c index 0e99d25a..11a280a4 100644 --- a/clients/ivi-shell-user-interface.c +++ b/clients/ivi-shell-user-interface.c @@ -33,6 +33,7 @@ #include <sys/mman.h> #include <getopt.h> #include <wayland-cursor.h> +#include <wayland-client-protocol.h> #include "shared/cairo-util.h" #include "shared/config-parser.h" #include "shared/helpers.h" diff --git a/tests/weston-test-client-helper.h b/tests/weston-test-client-helper.h index 1c8180da..7c2727ad 100644 --- a/tests/weston-test-client-helper.h +++ b/tests/weston-test-client-helper.h @@ -31,6 +31,7 @@ #include <assert.h> #include <stdbool.h> +#include <wayland-client-protocol.h> #include "weston-test-runner.h" #include "weston-test-client-protocol.h" |