From 639ce593d4f00a1414dce59b45036385cfd4c627 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 14 Jul 2008 12:03:27 +1000 Subject: [PATCH] - (djm) [openbsd-compat/rresvport.c] Add unistd.h for missing close() prototype; reported by cristian.ionescu-idbohrn AT axis.com --- ChangeLog | 4 +++- openbsd-compat/rresvport.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 131b1df3b..b411bd77f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,8 @@ - (djm) [openbsd-compat/bindresvport.c] Rename variables s/sin/in/ to avoid clash with sin(3) function; reported by cristian.ionescu-idbohrn AT axis.com + - (djm) [openbsd-compat/rresvport.c] Add unistd.h for missing close() + prototype; reported by cristian.ionescu-idbohrn AT axis.com 20080712 - (djm) OpenBSD CVS Sync @@ -4654,4 +4656,4 @@ OpenServer 6 and add osr5bigcrypt support so when someone migrates passwords between UnixWare and OpenServer they will still work. OK dtucker@ -$Id: ChangeLog,v 1.5079 2008/07/14 02:02:24 djm Exp $ +$Id: ChangeLog,v 1.5080 2008/07/14 02:03:27 djm Exp $ diff --git a/openbsd-compat/rresvport.c b/openbsd-compat/rresvport.c index 5b0275ce0..1cd61e58d 100644 --- a/openbsd-compat/rresvport.c +++ b/openbsd-compat/rresvport.c @@ -44,6 +44,7 @@ #include #include #include +#include #if 0 int