getdnsapi / getdns

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

fix windows build #543

Closed jiayuehua closed 7 months ago

jiayuehua commented 9 months ago

https://github.com/microsoft/vcpkg/pull/34188 tell that on windows

D:\buildtrees\getdns\src\getdns-1-9f99f372dc.clean\src\gldns\parseutil.c(17): fatal error C1083: Cannot open include file: 'sys/time.h': No such file or directory
D:\buildtrees\getdns\src\getdns-1-9f99f372dc.clean\src\gldns\parse.c(16): fatal error C1083: Cannot open include file: 'strings.h': No such file or directory

this patch fix it.