projects
/
catta
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14e8d98
)
core: fix build on kFreeBSD
author
Julien Blache
<jblache@debian.org>
Fri, 25 Jun 2010 03:39:31 +0000
(
05:39
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 25 Jun 2010 03:39:31 +0000
(
05:39
+0200)
avahi-daemon/main.c
patch
|
blob
|
history
diff --git
a/avahi-daemon/main.c
b/avahi-daemon/main.c
index c4983e55f89f9c1a6fbedb10e38776768d6c8eda..d270c318b6ffc9841de3ffa576a7fc1abe86d8e0 100644
(file)
--- 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