mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 04:40:07 +01:00
libweston/color-management: Add fallback for static_assert
Attempt to fix the following with clang-18: ../weston-9999/libweston/color-management.c:890:2: error: call to undeclared function 'static_assert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 890 | static_assert(UINT32_MAX <= SIZE_MAX, | ^ Fixes: #948 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
parent
6bcf9ca6ba
commit
3dc28308e6
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@
|
|||
#include "shared/string-helpers.h"
|
||||
#include "shared/weston-assert.h"
|
||||
#include "shared/xalloc.h"
|
||||
#include "shared/helpers.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue