summaryrefslogtreecommitdiffstats
path: root/newlib
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-12-15 12:58:19 +0000
committerCorinna Vinschen <corinna@vinschen.de>2014-12-15 12:58:19 +0000
commit601c50292b9a98a3040cb92cb23f4af258bbb9e2 (patch)
tree26d61065fbc811833628216263cda9aa6bd4a094 /newlib
parentb536197a756353da081234a828eaa5c4a4cf4181 (diff)
downloadcygnal-601c50292b9a98a3040cb92cb23f4af258bbb9e2.tar.gz
cygnal-601c50292b9a98a3040cb92cb23f4af258bbb9e2.tar.bz2
cygnal-601c50292b9a98a3040cb92cb23f4af258bbb9e2.zip
* libc/include/stdlib.h: Include sys/cdefs.h to avoid undefined
__ASMNAME.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/stdlib.h1
2 files changed, 6 insertions, 0 deletions
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 <vinschen@redhat.com>
+
+ * libc/include/stdlib.h: Include sys/cdefs.h to avoid undefined
+ __ASMNAME.
+
2014-12-12 Stefan Wallentowitz <stefan.wallentowitz@tum.de>
* 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 <stddef.h>
#include <sys/reent.h>
+#include <sys/cdefs.h>
#include <machine/stdlib.h>
#ifndef __STRICT_ANSI__
#include <alloca.h>