DragonFly bugs List (threaded) for 2009-04
DragonFly BSD
DragonFly bugs List (threaded) for 2009-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

error: `RLIMIT_AS' undeclared


From: Vincent Stemen <vince.dragonfly@xxxxxxxxxxx>
Date: Thu, 2 Apr 2009 21:36:42 -0500

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?




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]