Re: [PATCH] Add __nl_item to <sys/_types.h>

Corinna Vinschen <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On Aug 23 14:51, Sebastian Huber wrote:
> Add __nl_item to <sys/_types.h> for FreeBSD compatibility.  This type is
> used by some FreeBSD user-space header files.
> 
> Signed-off-by: Sebastian Huber <[email protected]>
> ---
>  newlib/libc/include/sys/_types.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/newlib/libc/include/sys/_types.h b/newlib/libc/include/sys/_types.h
> index d8e8c0b52..fc10531d5 100644
> --- a/newlib/libc/include/sys/_types.h
> +++ b/newlib/libc/include/sys/_types.h
> @@ -210,6 +210,7 @@ typedef	__uint8_t	__sa_family_t;
>  typedef	__uint32_t	__socklen_t;
>  #endif
>  
> +typedef	int		__nl_item;

This collides with

newlib/libc/include/langinfo.h:44:enum __nl_item


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlt+uvoACgkQ9TYGna5E
T6DuzQ//b5KLkHQpaoAZISD217ekUI2MoB1Kb71IQm4vZUDZ5rGGFxN7E/zefawZ
EbNfTm4+kcjKlrdAXyUtuNLLxrv8ngCOpYjVfR/jKNX3X7+7vZYcrS/38Us9i4US
0n4yCz3utgCyHkpDnDgoy2KwA+3IIwfFR+RkgJwQcjIXaRhQU2NCilMDqvm68igX
CN5UImvx4SGzIlvIhtL+Y5avdtDc1QwH9UMf9Ys92224f/4mYJJp6v+CFi2sqTD4
jfxAoWyifnT2YAQVbo+AT/hBAelZ8cnoOeMZp9kx802FFgIlHL/JN7CMZm0Wz+/V
5hgNIrwUdTrcUvAPYuhdnsYB+aFrpQrFi469NWp4Pbs6+qYqfMaL3yGi60qFEdU/
2dfX43kI+0yo3Dui29VE1C35om6GDjrnEDZ3xt5vuOKqHiYixh87Mc5haqFVRnz7
3/ACyo/lqGQ8srS5OBoRjX1cdBfvpwOwFKV0zjYFq2E9K27SwMkivMV0w8Vtjk61
a95tNWwtCH8aLTd9187rXqdP5IfkVj2NmJi5VDvINBa3WjvKE1fIBadf3Y33sPkL
965MbA2LoeHKVUpgWu75/auP4kq0+JbuYpT435Z5kUrHfZDmCbFnQ0SBv5Es1FbX
B/+wAhx/X7oFg35h1/iCJRFyX6gaS7HYoLQsVqOImG1g9SEP1Sk=
=8nx9
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.