summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-07-23 13:44:33 +0100
committerEric Engestrom <[email protected]>2019-08-04 11:14:25 +0100
commit9668d7f5393dcc95f3d447a7dfb1c28265a2c9fd (patch)
treeb9009638ccb9dbfafc5517eb644ce98c7ca7e959 /src/util
parent64ffc289be897d25a2e6038c2bcf17dc0608fcea (diff)
introduce c11_compat.h to provide C11 things in C99
Right now, all it does is provide the new standard `static_assert()` name. Fixes: fbf7c38da35afe7f1de0 ("egl/wayland: use bitset.h for `formats` bit set") Signed-off-by: Eric Engestrom <[email protected]> Tested-by: Bhushan Shah <[email protected]>
Diffstat (limited to 'src/util')
-rw-r--r--src/util/macros.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/macros.h b/src/util/macros.h
index 86585f609da..f5f099bb594 100644
--- a/src/util/macros.h
+++ b/src/util/macros.h
@@ -27,6 +27,7 @@
#include <assert.h>
#include "c99_compat.h"
+#include "c11_compat.h"
/* Compute the size of an array */
#ifndef ARRAY_SIZE