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 <ybakos@humanoriented.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
Yong Bakos 2016-05-17 21:02:01 -06:00 committed by Bryce Harrington
parent 972f1a2cf7
commit d588efcbc8

View file

@ -43,9 +43,9 @@
#include <sys/file.h>
#include <sys/stat.h>
#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.