# HG changeset patch # User Eli Zaretskii # Date 1142091947 0 # Node ID 4c6bb2c4dbcfeb8ea4090d5cdcf424cc2a6e49ee # Parent 8770c74755a4c9a1972f3dd37547c1e5c4f550ba [HAVE_GETRLIMIT]: Don't define unconditionally. Don't include sys/resource.h unless HAVE_GETRLIMIT is defined. diff -r 8770c74755a4 -r 4c6bb2c4dbcf src/vm-limit.c --- a/src/vm-limit.c Sat Mar 11 15:44:19 2006 +0000 +++ b/src/vm-limit.c Sat Mar 11 15:45:47 2006 +0000 @@ -32,9 +32,6 @@ #endif #include "mem-limits.h" -#include - -#define HAVE_GETRLIMIT #ifdef HAVE_GETRLIMIT #include