dns plugin: Do not use headers from glibc
authorPavel Rochnyack <pavel2000@ngs.ru>
Wed, 15 May 2019 07:33:02 +0000 (14:33 +0700)
committerMatthias Runge <mrunge@redhat.com>
Tue, 2 Jul 2019 10:09:42 +0000 (12:09 +0200)
commit45b59919cd22250b6a64e17af6c4c9ca218b401c
tree884f7c7e5d546b96adf02dbee24692d207e666bc
parent3542cbfc6ef7cfd4b73ba13397fee38b2eb295f5
dns plugin: Do not use headers from glibc

glibc has removed __NAMESER and __BIND symbols from their codebase.

There is no benefits of use defines from glibc, so replaced them by numbers.

Closes: #3145
(cherry picked from commit faa20ef796abc91656c5c583970db9a9f4daf911)
configure.ac
src/utils/dns/dns.c
src/utils/dns/dns.h