diff --git a/src/or/eventdns.c b/src/or/eventdns.c index 5f08b722f9..49fbe05456 100644 --- a/src/or/eventdns.c +++ b/src/or/eventdns.c @@ -2038,7 +2038,7 @@ eventdns_nameserver_ip_add_line(const char *ips) { return 0; } -typedef DWORD(*GetNetworkParams_fn_t)(FIXED_INFO *, DWORD*); +typedef DWORD(WINAPI *GetNetworkParams_fn_t)(FIXED_INFO *, DWORD*); // Use the windows GetNetworkParams interface in iphlpapi.dll to // figure out what our nameservers are.