From c1abe8e3e89de85d5f0b093e0cc2b56a6cdc6887 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Thu, 24 Aug 2006 19:53:40 +1000 Subject: [PATCH] - (dtucker) [openbsd-compat/rresvport.c] Include for malloc. --- ChangeLog | 3 ++- openbsd-compat/rresvport.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e1b7a8b4a..80e521d99 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ - (dtucker) [openbsd-compat/bsd-misc.c] Include for select(2) on POSIX systems. - (dtucker) [openbsd-compat/bsd-openpty.c] Include for ioctl(2). + - (dtucker) [openbsd-compat/rresvport.c] Include for malloc. 20060822 - (dtucker) [Makefile.in] Bug #1177: fix incorrect path for sshrc in @@ -5296,4 +5297,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.4508 2006/08/24 09:52:30 dtucker Exp $ +$Id: ChangeLog,v 1.4509 2006/08/24 09:53:40 dtucker Exp $ diff --git a/openbsd-compat/rresvport.c b/openbsd-compat/rresvport.c index c10391872..15790e852 100644 --- a/openbsd-compat/rresvport.c +++ b/openbsd-compat/rresvport.c @@ -36,6 +36,7 @@ #ifndef HAVE_RRESVPORT_AF #include +#include #include #if 0