getdnsapi / getdns

A modern asynchronous DNS API https://getdnsapi.net/
Other
461 stars 127 forks source link

Getdns no longer builds on Windows #537

Open AstralStorm opened 1 year ago

AstralStorm commented 1 year ago

There is a regression in b181782e0e9554c49e0f8031696e985f91954df7 commit where ifdefs for HAVE_SYS_TIME_H has been removed and strings.h is included instead of string.h.

There's also some calls to write instead of send in stub.c, calls to close in anchor.c, mkstemp.c is broken as well.

This causes getdns build to fail on Windows or crash on runtime.