summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/lib/strncpy.c1
-rw-r--r--firmware/include/assert.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/lib/strncpy.c b/apps/plugins/lib/strncpy.c
index f80e759969..8a78b23882 100644
--- a/apps/plugins/lib/strncpy.c
+++ b/apps/plugins/lib/strncpy.c
@@ -40,6 +40,7 @@ QUICKREF
#include <string.h>
#include <limits.h>
#include "plugin.h"
+#include "_ansi.h"
/*SUPPRESS 560*/
/*SUPPRESS 530*/
diff --git a/firmware/include/assert.h b/firmware/include/assert.h
index 2bf3aeb6c3..536c4a8fc7 100644
--- a/firmware/include/assert.h
+++ b/firmware/include/assert.h
@@ -2,6 +2,8 @@
assert.h
*/
+#include "_ansi.h"
+
#undef assert
#ifdef NDEBUG /* required by ANSI standard */