mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 04:42:14 +00:00
Avoid conflicting client/server wayland includes
This avoids including wayland-server.h in cogl-display-private.h which avoid lots of compile time warnings that wl_buffer is deprecated. The problem is that wl_buffer is also exposed in the client side headers and isn't deprecated for clients. If we end up including the client and server headers in the same compilation unit we can get conflicting definitions. Reviewed-by: Neil Roberts <neil@linux.intel.com> (cherry picked from commit 60fcd9c87cf5d8ae8c41134217ee0e1fa2fbd46e)
This commit is contained in:
parent
8392420244
commit
a93e789a7c
@ -29,9 +29,6 @@
|
||||
#include "cogl-display.h"
|
||||
#include "cogl-renderer.h"
|
||||
#include "cogl-onscreen-template.h"
|
||||
#ifdef COGL_HAS_WAYLAND_EGL_SERVER_SUPPORT
|
||||
#include <wayland-server.h>
|
||||
#endif
|
||||
|
||||
struct _CoglDisplay
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user