Project

General

Profile

Actions

Bug #1328

closed

[PATCH]

Added by vince.dragonfly about 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

I am attempting to compile FreeSWITCH (http://www.freeswitch.org/).

I get the following error.

Compiling src/switch_core.c ...
src/switch_core.c: In function `switch_core_setrlimits':
src/switch_core.c:795: error: `RLIMIT_AS' undeclared (first use in this
function)

Some of the other BSDs apparently don't have it either but FreeBSD has
it defined in /usr/include/sys/resource.h as

#define RLIMIT_AS       RLIMIT_VMEM     /* standard name for RLIMIT_VMEM */

Apparently it is also defined in Linux as well.

Should this be added to DragonFly?


Files

rlimit.diff (1.13 KB) rlimit.diff Anonymous, 05/26/2009 07:27 AM
Actions

Also available in: Atom PDF