From 601c50292b9a98a3040cb92cb23f4af258bbb9e2 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 15 Dec 2014 12:58:19 +0000 Subject: [PATCH] * libc/include/stdlib.h: Include sys/cdefs.h to avoid undefined __ASMNAME. --- newlib/ChangeLog | 5 +++++ newlib/libc/include/stdlib.h | 1 + 2 files changed, 6 insertions(+) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 9ed561d1f..d9b86a21c 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2014-12-15 Corinna Vinschen + + * libc/include/stdlib.h: Include sys/cdefs.h to avoid undefined + __ASMNAME. + 2014-12-12 Stefan Wallentowitz * configure.host: or1knd support, OpenRISC without delay slot diff --git a/newlib/libc/include/stdlib.h b/newlib/libc/include/stdlib.h index ffbb44349..c6562c704 100644 --- a/newlib/libc/include/stdlib.h +++ b/newlib/libc/include/stdlib.h @@ -16,6 +16,7 @@ #include #include +#include #include #ifndef __STRICT_ANSI__ #include