Attached is the patch done to wayland. Note that no other code had to be
changed.
This is not the correct patch, the correct patch would either remove or
invert the switch.
diff --git a/src/scanner.c b/src/scanner.c
index 75322f7..168d9b5 100644
--- a/src/scanner.c
+++ b/src/scanner.c
@@ -1038,9 +1038,9 @@ static const char *
get_include_name(bool core, enum side side)
{
if (side == SERVER)
- return core ? "wayland-server-core.h" : "wayland-server.h";
+ return "wayland-server-core.h";
else
- return core ? "wayland-client-core.h" : "wayland-client.h";
+ return "wayland-client-core.h";
}
static void
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel