re PR target/49817 (libiberty/stack-limit.c causes a bootstrap failure on all FreeBSD...
authorGerald Pfeifer <gerald@pfeifer.com>
Fri, 22 Jul 2011 22:52:55 +0000 (22:52 +0000)
committerGerald Pfeifer <gerald@gcc.gnu.org>
Fri, 22 Jul 2011 22:52:55 +0000 (22:52 +0000)
PR target/49817
* stack-limit.c: Include <stdint.h>.

From-SVN: r176662

libiberty/ChangeLog
libiberty/stack-limit.c

index 689d507cdde8e46cc89577044d50cb69de7a2fd7..97c50c0ea7d587d8e9545bf274ea26cc4fdf7902 100644 (file)
@@ -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
index 28541b1d423beb13c1b7bcb1bad0139e3333ccc4..e64cac28d1df23c5285cc579610ee5b089f54d8c 100644 (file)
@@ -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