diff options
author | Jared D. McNeill <jmcneill@NetBSD.org> | 2009-01-22 01:39:54 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-01-22 01:39:54 +0100 |
commit | cc425ed260bdaa94ba5a7369efcb7bbe630a8c05 (patch) | |
tree | 3c8f485556a42dc7aae12b3aa82ac1989bfe4ddb /src | |
parent | 75eeea65bd7007587a2465f014cacc9472f10bde (diff) |
NetBSD doesn't know RLIMIT_AS
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon/main.c b/src/daemon/main.c index b01689f8..68e64c17 100644 --- a/src/daemon/main.c +++ b/src/daemon/main.c @@ -302,7 +302,9 @@ static void set_all_rlimits(const pa_daemon_conf *conf) { #ifdef RLIMIT_MEMLOCK set_one_rlimit(&conf->rlimit_memlock, RLIMIT_MEMLOCK, "RLIMIT_MEMLOCK"); #endif +#ifdef RLIMIT_AS set_one_rlimit(&conf->rlimit_as, RLIMIT_AS, "RLIMIT_AS"); +#endif #ifdef RLIMIT_LOCKS set_one_rlimit(&conf->rlimit_locks, RLIMIT_LOCKS, "RLIMIT_LOCKS"); #endif |