Move wl_priv_signal to wayland-server-private.h

Including wayland-server-core.h in wayland-private.h is problematic
because wayland-private.h is included by wayland-scanner which should be
able to build against non-POSIX platforms (e.g. MinGW). The only reason
that wayland-server-core.h was included in wayland-private.h was for the
wl_private_signal definitions, so move those to a
wayland-server-private.h file that can be included by both
wayland-server.c and the tests.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
This commit is contained in:
Joshua Watt 2019-11-05 09:09:50 -06:00
parent 4a1f348c20
commit e7d88f35eb
5 changed files with 58 additions and 23 deletions

View file

@ -26,7 +26,7 @@
#include <assert.h>
#include "test-runner.h"
#include "wayland-private.h"
#include "wayland-server-private.h"
static void
signal_notify(struct wl_listener *listener, void *data)