Always call res_init() before getaddrinfo().
[tinc] / src / mingw /
drwxr-xr-x   ..
-rw-r--r-- 3179 common.h
-rw-r--r-- 8823 device.c