diff --git a/src/mlkem768.c b/src/mlkem768.c
index 824bee4..e8dfef2 100644
--- a/src/mlkem768.c
+++ b/src/mlkem768.c
@@ -54,6 +54,12 @@
 #include "mlkem768.h"
 #include "dbrandom.h"
 
+#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)    /* C11 */
+#ifndef static_assert
+# define static_assert _Static_assert
+#endif
+#endif
+
 int
 crypto_kem_mlkem768_keypair(unsigned char *pk, unsigned char *sk)
 {
-- 
2.25.1

