Include <wayland-server-core.h> outside of extern "C"

Closes: https://github.com/Plagman/gamescope/issues/190
This commit is contained in:
Simon Ser 2021-05-17 19:21:23 +02:00
parent 756b3a6afc
commit fa433a3ebc
2 changed files with 2 additions and 0 deletions

View file

@ -6,6 +6,7 @@
#include <xf86drmMode.h>
#include <assert.h>
#include <drm_fourcc.h>
#include <wayland-server-core.h>
extern "C" {
#include <libliftoff.h>

View file

@ -49,6 +49,7 @@ struct Composite_t
#include <unordered_map>
#include <vector>
#include <wayland-server-core.h>
extern "C" {
#define static