<div dir="ltr">Reviewed-by: Marek Chalupa <<a href="mailto:mchqwerty@gmail.com">mchqwerty@gmail.com</a>><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 19 December 2014 at 15:02, Pekka Paalanen <span dir="ltr"><<a href="mailto:ppaalanen@gmail.com" target="_blank">ppaalanen@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, 15 Dec 2014 12:48:38 +0100<br>
Mariusz Ceier <<a href="mailto:mceier%2Bwayland@gmail.com">mceier+wayland@gmail.com</a>> wrote:<br>
<br>
> Server protocols headers should include wayland-server.h,<br>
> instead of wayland-util.h. Otherwise they're not useable<br>
> with C++ compiler unless wayland-server.h was included<br>
> earlier.<br>
><br>
> Signed-off-by: Mariusz Ceier <<a href="mailto:mceier%2Bwayland@gmail.com">mceier+wayland@gmail.com</a>><br>
> ---<br>
><br>
> Notes:<br>
>     v2: s/generatation/generation/<br>
><br>
>  src/scanner.c | 2 +-<br>
>  1 file changed, 1 insertion(+), 1 deletion(-)<br>
><br>
> diff --git a/src/scanner.c b/src/scanner.c<br>
> index ca03c57..1f1e59a 100644<br>
> --- a/src/scanner.c<br>
> +++ b/src/scanner.c<br>
> @@ -1002,7 +1002,7 @@ emit_header(struct protocol *protocol, enum side side)<br>
>              "struct wl_resource;\n\n",<br>
>              protocol->uppercase_name, s,<br>
>              protocol->uppercase_name, s,<br>
> -            (side == SERVER) ? "wayland-util.h" : "wayland-client.h");<br>
> +            (side == SERVER) ? "wayland-server.h" : "wayland-client.h");<br>
><br>
>       wl_list_for_each(i, &protocol->interface_list, link)<br>
>               printf("struct %s;\n", i->name);<br>
<br>
</span>These two look good to me. Can anyone else say something?<br>
<br>
<br>
Thanks,<br>
pq<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</div></div></blockquote></div></div>