From: Michael Jerris Date: Sun, 14 Dec 2008 16:41:33 +0000 (+0000) Subject: FSCORE-254 NetBSD does not have RLIMIT_AS X-Git-Tag: v1.0.2~246 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a13d0e2656cd22dfaf1b9e22dffcad2387d3091;p=thirdparty%2Ffreeswitch.git FSCORE-254 NetBSD does not have RLIMIT_AS git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10756 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_core.c b/src/switch_core.c index 497b0dfde5..261fead6f3 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -781,7 +781,7 @@ SWITCH_DECLARE(void) switch_core_setrlimits(void) setrlimit(RLIMIT_CPU, &rlp); setrlimit(RLIMIT_DATA, &rlp); setrlimit(RLIMIT_FSIZE, &rlp); -#ifndef __OpenBSD__ +#if !defined(__OpenBSD__) && !defined(__NetBSD__) setrlimit(RLIMIT_AS, &rlp); #endif #endif