Commit d0ade325 authored by Eli Zaretskii's avatar Eli Zaretskii

[HAVE_GETRLIMIT]: Don't define unconditionally. Don't include sys/resource.h

unless HAVE_GETRLIMIT is defined.
parent a2f95963
......@@ -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>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment