---
 libcap/cap_alloc.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/libcap/cap_alloc.c b/libcap/cap_alloc.c
index 98841b9..760537e 100644
--- a/libcap/cap_alloc.c
+++ b/libcap/cap_alloc.c
@@ -9,6 +9,12 @@
 
 #include "libcap.h"
 
+#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)    /* C11 */
+#ifndef static_assert
+# define static_assert _Static_assert
+#endif
+#endif
+
 /*
  * Make start up atomic.
  */
-- 
2.34.1

