From 33f5b60999ea663fc6a873e3e30d003364d3b0e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Sun, 25 Jul 2010 14:53:06 +0000 Subject: [PATCH] strncpy.c / assert.h : need to include _ansi.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27549 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/lib/strncpy.c | 1 + firmware/include/assert.h | 2 ++ 2 files changed, 3 insertions(+) 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 #include #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 */