tcp_wrappers: include <unistd.h>

This is for getdomainname(3).
This commit is contained in:
Piotr Pawel Stefaniak 2022-02-13 19:14:55 +01:00
parent d8da59ddf8
commit 7d636a4d3e

View file

@ -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;