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:
authorCorinna Vinschen <corinna@vinschen.de>2015-07-06 15:08:30 +0300
committerCorinna Vinschen <corinna@vinschen.de>2015-07-06 15:08:30 +0300
commitf9b87aaf109366342777521fe93fe9f795e8f1fa (patch)
tree99cf5cbdccc48700b86abc3ef16beaea03c4d87e /newlib/ChangeLog
parent910087f70fb66c4949075811a0c23963c677dffa (diff)
Fix sys/time.h build problem due to inconsistent macro usage
https://sourceware.org/ml/newlib/2015/msg00520.html describes how sys/time.h uses __BSD_VISIBLE while the types used in the affected inline functions are guarded with !_POSIX_SOURCE. Fix that by guarding the type with __BSD_VISIBLE as well. * libc/include/sys/time.h: Explicitely include sys/cdefs.h. * libc/include/sys/types.h: Ditto. Guard BSD convenience base types with __BSD_VISIBLE rather than !_POSIX_SOURCE. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/ChangeLog')
-rw-r--r--newlib/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 9ada9de83..994f1ca0e 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,9 @@
+2015-07-06 Corinna Vinschen <corinna@vinschen.de>
+
+ * libc/include/sys/time.h: Explicitely include sys/cdefs.h.
+ * libc/include/sys/types.h: Ditto. Guard BSD convenience base types
+ with __BSD_VISIBLE rather than !_POSIX_SOURCE.
+
2015-07-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libc/stdio/fputs.c (_puts_r): Add missing CHECK_INIT().