#include "stdinc.h"
#include "ircd_defs.h"
-#include "common.h"
#include "ircd.h"
#include "res.h"
#include "reslib.h"
#ifndef _WIN32
static int parse_resvconf(void);
+#else
+static void parse_windows_resolvers(void);
#endif
static void add_nameserver(const char *);
#ifndef _WIN32
parse_resvconf();
#else
- parse_windows_nameservers();
+ parse_windows_resolvers();
#endif
if (irc_nscount == 0)
add_nameserver("127.0.0.1");
if ((p = strpbrk(arg, " \t")) != NULL)
*p = '\0'; /* take the first word */
- if (strcasecmp(opt, "domain") == 0)
+ if (rb_strcasecmp(opt, "domain") == 0)
rb_strlcpy(irc_domain, arg, sizeof(irc_domain));
- else if (strcasecmp(opt, "nameserver") == 0)
+ else if (rb_strcasecmp(opt, "nameserver") == 0)
add_nameserver(arg);
}