[patch] sys/time.h - include sys/cdefs.h

Christian Eggers ceggers@gmx.de
Wed Jan 28 21:04:00 GMT 2015


Using the definition __BSD_VISIBLE requires inclusion of <sys/cdefs.h>.

2015-01-28  Christian Eggers  <ceggers@gmx.de>

	* libc/include/sys/time.h: #include <sys/cdefs.h> for __BSD_VISIBLE.

Index: libc/include/sys/time.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/include/sys/time.h,v
retrieving revision 1.19
diff -r1.19 time.h
8a9
> #include <sys/cdefs.h>



More information about the Newlib mailing list