This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]