* add a missing include for OpenBSD
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@917
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
#include <config.h>
#endif
#include <config.h>
#endif
#include <sys/socket.h>
#include <arpa/inet.h>
#include <string.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <string.h>
c->server_config.use_iff_running = is_yes(p->value);
else if (strcasecmp(p->key, "disallow-other-stacks") == 0)
c->server_config.disallow_other_stacks = is_yes(p->value);
c->server_config.use_iff_running = is_yes(p->value);
else if (strcasecmp(p->key, "disallow-other-stacks") == 0)
c->server_config.disallow_other_stacks = is_yes(p->value);
else if (strcasecmp(p->key, "enable-dbus") == 0) {
if (*(p->value) == 'w' || *(p->value) == 'W') {
else if (strcasecmp(p->key, "enable-dbus") == 0) {
if (*(p->value) == 'w' || *(p->value) == 'W') {
} else {
c->enable_dbus = 0;
}
} else {
c->enable_dbus = 0;
}
- } else if (strcasecmp(p->key, "drop-root") == 0)
+ }
+#endif
+ else if (strcasecmp(p->key, "drop-root") == 0)
c->drop_root = is_yes(p->value);
else if (strcasecmp(p->key, "add-service-cookie") == 0)
c->server_config.add_service_cookie = is_yes(p->value);
c->drop_root = is_yes(p->value);
else if (strcasecmp(p->key, "add-service-cookie") == 0)
c->server_config.add_service_cookie = is_yes(p->value);