| Submitter | Gerald Pfeifer |
|---|---|
| Date | July 22, 2011, 10:19 p.m. |
| Message ID | <alpine.LFD.2.02.1107230003120.22948@gerinyyl> |
| Download | mbox | patch |
| Permalink | /patch/106395/ |
| State | New |
| Headers | show |
Comments
Gerald Pfeifer <gerald@pfeifer.com> writes: > That puzzled me at first, but FreeBSD defines RLIM_INFINITY in > /usr/include/sys/resource.h and as follows: > > ((rlim_t)(((uint64_t)1 << 63) - 1)) Oy. > 2011-07-22 Gerald Pfeifer <gerald@pfeifer.com> > > PR target/49817 > * stack-limit.c: Include <stdint.h>. This is OK. Thanks. Ian
Patch
Index: stack-limit.c =================================================================== --- stack-limit.c (revision 176657) +++ stack-limit.c (working copy) @@ -35,6 +35,9 @@ #include "config.h" +#ifdef HAVE_STDINT_H +#include <stdint.h> +#endif #ifdef HAVE_SYS_RESOURCE_H #include <sys/resource.h> #endif