summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYong Bakos <ybakos@humanoriented.com>2016-05-17 21:02:01 -0600
committerBryce Harrington <bryce@osg.samsung.com>2016-06-01 19:22:19 -0700
commitd588efcbc8153c01b61c7056a0171ac5cddd5103 (patch)
tree84cf2bb6194575b2902dc3954d8119ece6bd9aeb
parent972f1a2cf78a257a50edae58826e43835155adeb (diff)
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>
-rw-r--r--src/wayland-server.c2
1 files changed, 1 insertions, 1 deletions
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 <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.