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

Eric Blake eblake@redhat.com
Thu Jan 29 02:13:00 GMT 2015


On 01/28/2015 01:45 PM, Christian Eggers wrote:
> 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>

ed-script diffs are hard to use reliably.  Better are context or unified
diffs (diff -u or diff -c).

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/newlib/attachments/20150129/4e3f5abc/attachment.sig>


More information about the Newlib mailing list