From: Dave Love Date: Mon, 2 Jun 2003 18:39:39 +0000 (+0000) Subject: Use HAVE_SYS_RESOURCE_H, HAVE_SYS_VLIMIT_H. X-Git-Tag: ttn-vms-21-2-B4~9799 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0a7d603959ec145ec3637d1a0c21079e2c54ce17;p=emacs.git Use HAVE_SYS_RESOURCE_H, HAVE_SYS_VLIMIT_H. --- diff --git a/src/mem-limits.h b/src/mem-limits.h index 3ba8f3ceaf8..fb3dae2eb84 100644 --- a/src/mem-limits.h +++ b/src/mem-limits.h @@ -37,9 +37,13 @@ extern int etext, __data_start; weak_extern (__data_start) #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__