Re: [PATCH] xdr_private.h needs sys/types.h for u_char
Corinna Vinschen <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
On Sep 5 21:21, Keith Packard wrote: > u_char is defined in sys/types.h, which doesn't appear to get > included, at least in my environments. > > Signed-off-by: Keith Packard <[email protected]> > --- > XDR is normally only built for cygwin, but I don't think there's any > reason not to let it be used on other systems. This patch > makes it compile on linux and arm-none-eabi compilers. > > newlib/libc/xdr/xdr_private.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/newlib/libc/xdr/xdr_private.h b/newlib/libc/xdr/xdr_private.h > index 98c9daada..dbdaaf0f0 100644 > --- a/newlib/libc/xdr/xdr_private.h > +++ b/newlib/libc/xdr/xdr_private.h > @@ -27,6 +27,7 @@ > #include <stdarg.h> > #include <stdint.h> > #include <sys/param.h> > +#include <sys/types.h> > > /* avoid including stdio header here */ > #ifndef __VALIST > -- > 2.19.0.rc2 Pushed. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer Red Hat
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAluRG+UACgkQ9TYGna5E T6AuCA/+MB/zJwv1hhLBnCRfPef0M5m4GZUTuAfFRMN6tZPFNR2Qrtuhk7JNLKj3 ZDZ8FHSyVVNscwm+et/anLx6xu1f8GGBfsirKWc91LanqPLWRA2CWyBctf/cuQ5+ bCeT4RAlqv779jPCg0bkYOr338Xp7E1ijwQs4JGMmrO7wsE5hwnoiryJRN+mBL8k mMq8Wxogq0GZHW3Zp78ORYujeodG/Dk3wFNYVU3IOkqeSexYWTXJAvXlxdH4BQHc QI8k9GBEU4cncX+CIy4vJSQRxzF/gXMx5IJcCDkKwda0piDFLtNxaZeDKSN8JdLS L71jEmq6MVolH9GZRGhmxXkuOOWXv+em6m0DkCj8B2/sZX/uXln5rapPdwcUjFfZ iW7kxqKESojjwFbKuQgsgquEP+lYaP6PSMcBVI4HeWtumdQyk/0CnjnaDx8UDOuK zB6uYFCFThZq/HmM0OzPB9qMPrnTceITQLH5aGz70ZN+WNbWMnLFlmWt/dT6ktKj 7SuWzhzOOxIzKuP65JpZJMX6ALSJ80FRIjswD8hkDLt2OsD1pEJMwfP4N1kzFSL2 Hm/XoMYwNwke2NTYGsR+LHGyo/w2HpdNTxBUgIGgyWzi54fVC5N/qrvBXJw3Zcdq 2/ENtB6ZStPig8hr97n5XJX/huvmaLbHWqx18rLf6l+42eR660Y= =QYN7 -----END PGP SIGNATURE-----