X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/4063dc2f62b7aec852f313d5b3d0740c213c1902..74909c9ada474bda62473cc991a989335d1c5f70:/authd/reslib.c diff --git a/authd/reslib.c b/authd/reslib.c index c5f13639..b3b43726 100644 --- a/authd/reslib.c +++ b/authd/reslib.c @@ -97,7 +97,6 @@ typedef struct rb_addrinfo rb_addrinfo; #include "stdinc.h" #include "ircd_defs.h" -#include "common.h" #include "ircd.h" #include "res.h" #include "reslib.h" @@ -133,6 +132,8 @@ static const char digitvalue[256] = { #ifndef _WIN32 static int parse_resvconf(void); +#else +static void parse_windows_resolvers(void); #endif static void add_nameserver(const char *); @@ -164,7 +165,7 @@ irc_res_init(void) #ifndef _WIN32 parse_resvconf(); #else - parse_windows_nameservers(); + parse_windows_resolvers(); #endif if (irc_nscount == 0) add_nameserver("127.0.0.1");