Fix build issue with newer Wayland headers

This commit is contained in:
Dennis Tsiang 2024-10-14 11:21:53 +00:00 committed by Iason Paraskevopoulos
parent 0c4356ed7d
commit 3f9d76b9fa
5 changed files with 19 additions and 1 deletions

View file

@ -28,6 +28,9 @@
#pragma once
#ifndef __STDC_VERSION__
#define __STDC_VERSION__ 0
#endif
#include <wayland-client.h>
#include "wsi/surface.hpp"

View file

@ -24,6 +24,10 @@
#define VK_USE_PLATFORM_WAYLAND_KHR 1
#ifndef __STDC_VERSION__
#define __STDC_VERSION__ 0
#endif
#include <wayland-client.h>
#include <linux-dmabuf-unstable-v1-client-protocol.h>

View file

@ -31,6 +31,9 @@ extern "C" {
#include <vulkan/vk_icd.h>
}
#ifndef __STDC_VERSION__
#define __STDC_VERSION__ 0
#endif
#include <wayland-client.h>
#include <linux-dmabuf-unstable-v1-client-protocol.h>
#include "util/wsialloc/wsialloc.h"

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2019, 2021 Arm Limited.
* Copyright (c) 2017-2019, 2021, 2024 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@ -25,7 +25,12 @@
#pragma once
#include <stdint.h>
#ifndef __STDC_VERSION__
#define __STDC_VERSION__ 0
#endif
#include <wayland-client.h>
#include "util/custom_allocator.hpp"
/**

View file

@ -24,6 +24,9 @@
#pragma once
#ifndef __STDC_VERSION__
#define __STDC_VERSION__ 0
#endif
#include <wayland-client.h>
#include <linux-dmabuf-unstable-v1-client-protocol.h>
#include <linux-explicit-synchronization-unstable-v1-protocol.h>