From b5ea93f9213d01cd0a8001a8b7ee34a42f739a8e Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 18 Jan 1999 19:54:20 +0000 Subject: [PATCH] PR/6837: Greg A. Woods: Bring into scope getpeername to make sure that the #define workaround works. XXX: But we don't need this workaround for NetBSD. --- lib/libwrap/tcpd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/libwrap/tcpd.h b/lib/libwrap/tcpd.h index a6ad5176f19f..89cdc833c63d 100644 --- a/lib/libwrap/tcpd.h +++ b/lib/libwrap/tcpd.h @@ -1,4 +1,4 @@ -/* $NetBSD: tcpd.h,v 1.3 1998/01/05 23:54:05 perry Exp $ */ +/* $NetBSD: tcpd.h,v 1.4 1999/01/18 19:54:20 christos Exp $ */ /* * @(#) tcpd.h 1.5 96/03/19 16:22:24 * @@ -222,6 +222,7 @@ extern int fix_recvfrom __P((int, char *, int, int, struct sockaddr *, int *)); #endif #ifdef GETPEERNAME_BUG /* claims success with UDP */ +#include /* XXX serious hack! */ #define getpeername fix_getpeername extern int fix_getpeername __P((int, struct sockaddr *, int *)); #endif