Include <arpa/nameser.h> before <resolv.h>.
[wine] / scheduler /
drwxr-xr-x   ..
-rw-r--r-- 26949 pthread.c