char *value, *cur_tok, *str;
uint32_t bit;
- evdns_init ();
if ((value = get_module_opt (cfg, "surbl", "redirector")) != NULL) {
str = memory_pool_strdup (surbl_module_ctx->surbl_pool, value);
#include "modules.h"
#include "message.h"
+#include <evdns.h>
+
#ifndef WITHOUT_PERL
#include <EXTERN.h> /* from the Perl distribution */
#include <perl.h> /* from the Perl distribution */
worker->srv->type = TYPE_WORKER;
event_init ();
+ evdns_init ();
+
init_signals (&signals, sig_handler);
sigprocmask (SIG_UNBLOCK, &signals.sa_mask, NULL);