Commit Graph

1 Commits

Author SHA1 Message Date
Pavel Cahyna e144f3ad66 Add a patch from C9S
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.
2024-02-12 11:31:52 +01:00