Commit Graph

1 Commits

Author SHA1 Message Date
Pavel Cahyna 64a3ffcdb6 Include config.h in cmdlang to avoid gethostbyname
cmdlang.c uses a configure macro to determine getaddrinfo support.

Without the macro defined, it uses gethostbyname instead of getaddrinfo.
This was actually happening erroneously, because the code did not
include config.h. Fix that.

Avoids one rpminspect/rpmdiff warning.

Related: rhbz#2044062
2022-01-28 12:32:06 +01:00