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:
Marius Vlad 2024-08-29 16:20:47 +03:00
parent 6bcf9ca6ba
commit 3dc28308e6
1 changed files with 1 additions and 0 deletions

View File

@ -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>