summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-22 22:52:55 +0000
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-22 22:52:55 +0000
commitc5b1c227ea59d97c1cd4bfc52504ebccff17248d (patch)
treef62b7e913348ee83b946ecda140aa60dbffff645
parent2aa4d2406d12317d4f8a70fe5142bba648f9e8db (diff)
downloadgcc-c5b1c227ea59d97c1cd4bfc52504ebccff17248d.tar.gz
PR target/49817
* stack-limit.c: Include <stdint.h>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176662 138bc75d-0d04-0410-961f-82ee72b054a4
-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 689d507cdde..97c50c0ea7d 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 28541b1d423..e64cac28d1d 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