summaryrefslogtreecommitdiff
path: root/src/vm-limit.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2006-03-11 15:45:47 +0000
committerEli Zaretskii <eliz@gnu.org>2006-03-11 15:45:47 +0000
commitd0ade325435264931e8e81bdee9dab83d1aa601e (patch)
tree03471fb488806efe9611d783e4f3fef329b27c1a /src/vm-limit.c
parenta2f959632a58341e08d7bfccb85f8f8fb2587165 (diff)
downloademacs-d0ade325435264931e8e81bdee9dab83d1aa601e.tar.gz
[HAVE_GETRLIMIT]: Don't define unconditionally. Don't include sys/resource.h
unless HAVE_GETRLIMIT is defined.
Diffstat (limited to 'src/vm-limit.c')
-rw-r--r--src/vm-limit.c3
1 files changed, 0 insertions, 3 deletions
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 <sys/resource.h>
-
-#define HAVE_GETRLIMIT
#ifdef HAVE_GETRLIMIT
#include <sys/resource.h>