[patch] xdr is missing includes

Ralf Corsepius ralf.corsepius@rtems.org
Mon Jan 3 07:19:00 GMT 2011


libc/xdr doesn't compile for rtems.

The cause apparently is missing includes:
- libc/xdr/xdr_private.h applies uint32_t
   but doesn't include <stdint.h>

- libc/xdr/xdr_rec.c applies INT_MAX and LONG_MAX
   but doesn't include <limits.h>

Patch enclosed below.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newlib-libc-xdr.diff
URL: <http://sourceware.org/pipermail/newlib/attachments/20110103/41f15e56/attachment.ksh>

More information about the Newlib mailing list