aboutsummaryrefslogtreecommitdiff
path: root/src/nc-util.h
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-05-27 14:52:41 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-05-27 14:52:41 -0400
commit718be80a4810b9352de7eb0707da54020aa6b649 (patch)
tree434c302ffbea4c5417090de0bbe24b2af2125c52 /src/nc-util.h
parenta8a6efb2319f739e5faae550561dc27d9dd1e88d (diff)
fix: Properly build mbedtls & cmake fixes
Diffstat (limited to 'src/nc-util.h')
-rw-r--r--src/nc-util.h4
1 files changed, 2 insertions, 2 deletions
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 <platform.h>
/* 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")