shevek / libspf2

Implementation of the Sender Policy Framework for SMTP authorization
http://www.libspf2.net/
37 stars 32 forks source link

Detect res_close() (patch from maya@netbsd.org). #28

Open schmonz opened 5 years ago

schmonz commented 5 years ago

OpenBSD seems not to have res_close() in the system resolver. Here's some autoconfery to detect it and only call it if present. (FWIW, OpenBSD ports checks #ifdef __OpenBSD__ and skips the call.)