From: Eli Zaretskii Date: Sat, 11 Mar 2006 15:45:47 +0000 (+0000) Subject: [HAVE_GETRLIMIT]: Don't define unconditionally. Don't include sys/resource.h X-Git-Tag: emacs-pretest-22.0.90~3682 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d0ade325435264931e8e81bdee9dab83d1aa601e;p=emacs.git [HAVE_GETRLIMIT]: Don't define unconditionally. Don't include sys/resource.h unless HAVE_GETRLIMIT is defined. --- diff --git a/src/vm-limit.c b/src/vm-limit.c index de31eda0cec..cadfb4cc95a 100644 --- a/src/vm-limit.c +++ b/src/vm-limit.c @@ -32,9 +32,6 @@ typedef void *POINTER; #endif #include "mem-limits.h" -#include - -#define HAVE_GETRLIMIT #ifdef HAVE_GETRLIMIT #include