aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/xdr/xdr_private.h1
-rw-r--r--newlib/libc/xdr/xdr_rec.c1
3 files changed, 7 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 3f55918..febd710 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,10 @@
2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
+ * libc/xdr/xdr_private.h: Include <stdint.h>
+ * libc/xdr/xdr_rec.c: Include limits.h
+
+2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
+
* libc/Makefile.am (SUBDEFS): Remove redundant posix/stmp-def.
* libc/Makefile.in: Regenerate.
diff --git a/newlib/libc/xdr/xdr_private.h b/newlib/libc/xdr/xdr_private.h
index 77f0042..2b45818 100644
--- a/newlib/libc/xdr/xdr_private.h
+++ b/newlib/libc/xdr/xdr_private.h
@@ -25,6 +25,7 @@
#include <_ansi.h>
#include <stdarg.h>
+#include <stdint.h>
#include <sys/param.h>
/* avoid including stdio header here */
diff --git a/newlib/libc/xdr/xdr_rec.c b/newlib/libc/xdr/xdr_rec.c
index f2fafad..eef4c48 100644
--- a/newlib/libc/xdr/xdr_rec.c
+++ b/newlib/libc/xdr/xdr_rec.c
@@ -51,6 +51,7 @@
#include <assert.h>
#include <unistd.h>
#include <errno.h>
+#include <limits.h>
#include <rpc/types.h>
#include <rpc/xdr.h>