aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2011-07-25 17:11:48 +0000
committerDJ Delorie <dj@redhat.com>2011-07-25 17:11:48 +0000
commit17a16b0f109f8663ff1e84a74dce5dee1707bf61 (patch)
tree516db429edb2edd2455993ef9be023b8acda4e50 /libiberty
parent543305c9cd7417b50b1e6d1fce6c7e0e44741bf4 (diff)
downloadgdb-17a16b0f109f8663ff1e84a74dce5dee1707bf61.zip
gdb-17a16b0f109f8663ff1e84a74dce5dee1707bf61.tar.gz
gdb-17a16b0f109f8663ff1e84a74dce5dee1707bf61.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog5
-rw-r--r--libiberty/stack-limit.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 689d507..97c50c0 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-22 Gerald Pfeifer <gerald@pfeifer.com>
+
+ PR target/49817
+ * stack-limit.c: Include <stdint.h>.
+
2011-07-22 Jakub Jelinek <jakub@redhat.com>
PR c++/49756
diff --git a/libiberty/stack-limit.c b/libiberty/stack-limit.c
index 28541b1..e64cac2 100644
--- a/libiberty/stack-limit.c
+++ b/libiberty/stack-limit.c
@@ -35,6 +35,9 @@ Attempt to increase stack size limit to @var{pref} bytes if possible.
#include "config.h"
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
#endif