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

@ -56,7 +56,8 @@ libwayland_private_la_SOURCES = \
src/connection.c \
src/wayland-os.c \
src/wayland-os.h \
src/wayland-private.h
src/wayland-private.h \
src/wayland-server-private.h
include_HEADERS = \
src/wayland-util.h \