]> git.eshelyaron.com Git - emacs.git/commitdiff
[HAVE_GETRLIMIT]: Don't define unconditionally. Don't include sys/resource.h
authorEli Zaretskii <eliz@gnu.org>
Sat, 11 Mar 2006 15:45:47 +0000 (15:45 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 11 Mar 2006 15:45:47 +0000 (15:45 +0000)
unless HAVE_GETRLIMIT is defined.

src/vm-limit.c

index de31eda0cec6506e846dd35324f8394f19c0c8d2..cadfb4cc95addbfba3fed39dd421d5f9d6cce174 100644 (file)
@@ -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>