From: Yong Bakos Date: Wed, 18 May 2016 03:02:01 +0000 (-0600) Subject: wayland-server: Clarify included header dependencies X-Git-Tag: 1.11.91~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d588efcbc8153c01b61c7056a0171ac5cddd5103;p=platform%2Fupstream%2Fwayland.git wayland-server: Clarify included header dependencies wayland-server.c directly depends on wayland-util.h, and will include wayland-server-protocol.h via wayland-server.h. Explicitly include wayland-util.h, making this dependency clear. Remove the redundant inclusion of wayland-server-protocol.h. Signed-off-by: Yong Bakos Reviewed-by: Bryce Harrington --- diff --git a/src/wayland-server.c b/src/wayland-server.c index ad82bc2..19aa2e8 100644 --- a/src/wayland-server.c +++ b/src/wayland-server.c @@ -43,9 +43,9 @@ #include #include +#include "wayland-util.h" #include "wayland-private.h" #include "wayland-server.h" -#include "wayland-server-protocol.h" #include "wayland-os.h" /* This is the size of the char array in struct sock_addr_un.