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
40#include <string.h> 40#include <string.h>
41#include <limits.h> 41#include <limits.h>
42#include "plugin.h" 42#include "plugin.h"
43#include "_ansi.h"
43 44
44/*SUPPRESS 560*/ 45/*SUPPRESS 560*/
45/*SUPPRESS 530*/ 46/*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 @@
2 assert.h 2 assert.h
3*/ 3*/
4 4
5#include "_ansi.h"
6
5#undef assert 7#undef assert
6 8
7#ifdef NDEBUG /* required by ANSI standard */ 9#ifdef NDEBUG /* required by ANSI standard */