test/ivi: include protocol headers for all used protocols
authorBill Spitzak <spitzak@gmail.com>
Thu, 6 Aug 2015 15:24:59 +0000 (16:24 +0100)
committerDaniel Stone <daniels@collabora.com>
Thu, 6 Aug 2015 15:24:59 +0000 (16:24 +0100)
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>
clients/ivi-shell-user-interface.c
tests/weston-test-client-helper.h

index 0e99d25..11a280a 100644 (file)
@@ -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"
index 1c8180d..7c2727a 100644 (file)
@@ -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"