From 81555350affea0a7fba5894116b1ec178ac53827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 7 Aug 2013 09:17:02 -0700 Subject: [PATCH] Don't include wayland-server.h in wayland-private.h We just declare struct wl_display manually instead. --- src/wayland-private.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wayland-private.h b/src/wayland-private.h index 01266947..7f8c12c1 100644 --- a/src/wayland-private.h +++ b/src/wayland-private.h @@ -29,7 +29,6 @@ #define WL_HIDE_DEPRECATED 1 -#include "wayland-server.h" #include "wayland-util.h" #define ARRAY_LENGTH(a) (sizeof (a) / sizeof (a)[0]) @@ -177,6 +176,8 @@ extern wl_log_func_t wl_log_handler; void wl_log(const char *fmt, ...); +struct wl_display; + struct wl_array * wl_display_get_additional_shm_formats(struct wl_display *display);