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 v2 1/3] Avoid cyclic header dependencies


On May 16 14:40, Sebastian Huber wrote:
> RTEMS uses a considerable part of FreeBSD kernel and user space sources.
> These sources are compiled with a __FreeBSD__ define.  On 2018-06-26
> Gerald Pfeifer changed the GCC provided <stddef.h> so that it includes
> <sys/_types.h> if __FreeBSD__ is defined.  The Newlib <sys/_types.h>
> included <sys/lock.h> which includes <sys/cdefs.h> on RTEMS which
> includes <stddef.h>.  To get rid of this cyclic dependency move the
> optional _flock_t definition to <sys/reent.h>.
> 
> Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
> ---
>  newlib/libc/include/sys/_types.h | 5 -----
>  newlib/libc/include/sys/reent.h  | 5 +++++
>  2 files changed, 5 insertions(+), 5 deletions(-)

Series pushed.  Can you please add a cover letter when sending a series?
It's kind of awkward to reply to a single patch in the series if the
entire series is affected.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Attachment: signature.asc
Description: PGP signature


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