summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2019-11-05 09:09:50 -0600
committerJoshua Watt <JPEWhacker@gmail.com>2019-11-06 08:24:14 -0600
commite7d88f35eb89cf0cc77cbddd834cacc63683a9cc (patch)
tree7590f5dcfe7172dea1cf3ed5fe15f5d2405db7b0 /tests
parentscanner: Add configure check for strndup (diff)
downloadwayland-e7d88f35eb89cf0cc77cbddd834cacc63683a9cc.tar
wayland-e7d88f35eb89cf0cc77cbddd834cacc63683a9cc.tar.gz
wayland-e7d88f35eb89cf0cc77cbddd834cacc63683a9cc.tar.bz2
wayland-e7d88f35eb89cf0cc77cbddd834cacc63683a9cc.tar.lz
wayland-e7d88f35eb89cf0cc77cbddd834cacc63683a9cc.tar.xz
wayland-e7d88f35eb89cf0cc77cbddd834cacc63683a9cc.tar.zst
wayland-e7d88f35eb89cf0cc77cbddd834cacc63683a9cc.zip
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/newsignal-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/newsignal-test.c b/tests/newsignal-test.c
index 47c429b..f3a7bd9 100644
--- a/tests/newsignal-test.c
+++ b/tests/newsignal-test.c
@@ -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)