summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2011-01-05 17:21:23 +0000
committerJeff Johnston <jjohnstn@redhat.com>2011-01-05 17:21:23 +0000
commit973929f99ec7dca9f610904903f6afc1f5b202b2 (patch)
treeec6f074f676777c524acf1c1588f22374231db7b
parenta8b560b15d57476953beff34a852582ae98436bc (diff)
downloadcygnal-973929f99ec7dca9f610904903f6afc1f5b202b2.tar.gz
cygnal-973929f99ec7dca9f610904903f6afc1f5b202b2.tar.bz2
cygnal-973929f99ec7dca9f610904903f6afc1f5b202b2.zip
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
-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 3f559181e..febd710e8 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 77f0042d5..2b4581866 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 f2fafadb1..eef4c4871 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>