Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>