summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/sys/time.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index c2270b52b..f91415f0f 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2015-01-28 Christian Eggers <ceggers@gmx.de>
+
+ * libc/include/sys/time.h: #include <sys/cdefs.h> for __BSD_VISIBLE.
+
2015-01-23 Corinna Vinschen <vinschen@redhat.com>
Complete action from 2001-12-18:
diff --git a/newlib/libc/include/sys/time.h b/newlib/libc/include/sys/time.h
index be16497fc..470a1a640 100644
--- a/newlib/libc/include/sys/time.h
+++ b/newlib/libc/include/sys/time.h
@@ -6,6 +6,7 @@
#define _SYS_TIME_H_
#include <_ansi.h>
+#include <sys/cdefs.h>
#include <sys/types.h>
#ifdef __cplusplus