From 718be80a4810b9352de7eb0707da54020aa6b649 Mon Sep 17 00:00:00 2001 From: vnugent Date: Mon, 27 May 2024 14:52:41 -0400 Subject: fix: Properly build mbedtls & cmake fixes --- src/nc-util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nc-util.h') diff --git a/src/nc-util.h b/src/nc-util.h index 8fb74ff..dd319c7 100644 --- a/src/nc-util.h +++ b/src/nc-util.h @@ -24,7 +24,7 @@ #ifndef _NC_UTIL_H #define _NC_UTIL_H -#include "platform.h" +#include /* NULL */ #ifndef NULL @@ -48,7 +48,7 @@ * so static_assret very likely will not be available. */ #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L - #define STATIC_ASSERT(x, m) static_assert(x, m) + #define STATIC_ASSERT(x, m) static_assert(x, m); #elif !defined(STATIC_ASSERT) #define STATIC_ASSERT(x, m) #pragma message("Static assertions are not supported by this language version") -- cgit