From 7d636a4d3ebd070acefb05c53c896cd75a9ea745 Mon Sep 17 00:00:00 2001 From: Piotr Pawel Stefaniak Date: Sun, 13 Feb 2022 19:14:55 +0100 Subject: [PATCH] tcp_wrappers: include This is for getdomainname(3). --- contrib/tcp_wrappers/workarounds.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/tcp_wrappers/workarounds.c b/contrib/tcp_wrappers/workarounds.c index 1ad2c6471ef3..3d4e9e6783d1 100644 --- a/contrib/tcp_wrappers/workarounds.c +++ b/contrib/tcp_wrappers/workarounds.c @@ -23,6 +23,9 @@ char sccsid[] = "@(#) workarounds.c 1.6 96/03/19 16:22:25"; #include #include #include +#ifdef USE_GETDOMAIN +#include +#endif extern int errno;