dnsapi: Portability fixes.
2 files changed