Date: Tue, 22 Mar 2022 18:53:55 GMT From: Piotr Pawel Stefaniak <pstef@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: cf1507aacb3f - stable/13 - tcp_wrappers: include <unistd.h> Message-ID: <202203221853.22MIrtfM099783@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by pstef: URL: https://cgit.FreeBSD.org/src/commit/?id=cf1507aacb3f52e8c2147cda163b0df8c4df7f80 commit cf1507aacb3f52e8c2147cda163b0df8c4df7f80 Author: Piotr Pawel Stefaniak <pstef@FreeBSD.org> AuthorDate: 2022-02-13 18:14:55 +0000 Commit: Piotr Pawel Stefaniak <pstef@FreeBSD.org> CommitDate: 2022-03-22 18:33:18 +0000 tcp_wrappers: include <unistd.h> This is for getdomainname(3). (cherry picked from commit 7d636a4d3ebd070acefb05c53c896cd75a9ea745) --- 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 <stdio.h> #include <syslog.h> #include <string.h> +#ifdef USE_GETDOMAIN +#include <unistd.h> +#endif extern int errno;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203221853.22MIrtfM099783>