diff options
author | Julien Blache <jblache@debian.org> | 2010-06-25 05:39:31 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-06-25 05:39:31 +0200 |
commit | 17b0ca2bb8b90b3ed0840ccaa6a76bafb79aa2c3 (patch) | |
tree | ae18fd79d6a3096d9df5d695d3b09c066274a81e /avahi-daemon | |
parent | 14e8d98506adfe74c8f395068d8fb8d060271e06 (diff) |
core: fix build on kFreeBSD
Diffstat (limited to 'avahi-daemon')
-rw-r--r-- | avahi-daemon/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-daemon/main.c b/avahi-daemon/main.c index c4983e5..d270c31 100644 --- a/avahi-daemon/main.c +++ b/avahi-daemon/main.c @@ -1306,7 +1306,7 @@ static void enforce_rlimits(void) { #endif /* the sysctl() call from iface-pfroute.c needs locked memory on FreeBSD */ -#if defined(RLIMIT_MEMLOCK) && !defined(__FreeBSD__) +#if defined(RLIMIT_MEMLOCK) && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) /* We don't need locked memory */ set_one_rlimit(RLIMIT_MEMLOCK, 0, "RLIMIT_MEMLOCK"); #endif |