[PATCH wayland] wayland-server: Clarify included header dependencies
Yong Bakos
junk at humanoriented.com
Wed May 18 03:02:01 UTC 2016
From: Yong Bakos <ybakos at humanoriented.com>
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 at humanoriented.com>
---
src/wayland-server.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/wayland-server.c b/src/wayland-server.c
index f745e62..0fe532c 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.
--
2.7.2
More information about the wayland-devel
mailing list