# HG changeset patch # User Dave Love # Date 1054579179 0 # Node ID c2c7a2898903a39e532b60c7f43623a0196ea1f4 # Parent 2699fa0f135f3fd6f5b500b118cc0e6196a20fcf Use HAVE_SYS_RESOURCE_H, HAVE_SYS_VLIMIT_H. diff -r 2699fa0f135f -r c2c7a2898903 src/mem-limits.h --- a/src/mem-limits.h Mon Jun 02 18:36:33 2003 +0000 +++ b/src/mem-limits.h Mon Jun 02 18:39:39 2003 +0000 @@ -37,9 +37,13 @@ #else /* not _LIBC */ -#if defined (__osf__) && (defined (__mips) || defined (mips) || defined(__alpha)) -#include -#include +#ifdef HAVE_SYS_RESOURCE_H +# include +# include +#else +# if HAVE_SYS_VLIMIT_H +# include /* Obsolete, says glibc */ +# endif #endif #ifdef __bsdi__