From a43c00582549a440fb744bdf8849ae53f97c9bc5 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Mon, 16 Oct 2006 19:49:12 +1000 Subject: [PATCH] - (dtucker) [monitor_fdpass.c] Include sys/in.h, required for cmsg macros on older (2.0) Linuxes. Based on patch from thmo-13 at gmx de. --- ChangeLog | 6 +++++- monitor_fdpass.c | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b5f5fcc47..fc86a6f94 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +20061016 + - (dtucker) [monitor_fdpass.c] Include sys/in.h, required for cmsg macros + on older (2.0) Linuxes. Based on patch from thmo-13 at gmx de. + 20061006 - (tim) [buildpkg.sh.in] Use uname -r instead of -v in OS_VER for Solaris. Differentiate between OpenServer 5 and OpenServer 6 @@ -2524,4 +2528,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.4569 2006/10/07 01:49:36 tim Exp $ +$Id: ChangeLog,v 1.4570 2006/10/16 09:49:12 dtucker Exp $ diff --git a/monitor_fdpass.c b/monitor_fdpass.c index c5fc4c397..9f8e9cd55 100644 --- a/monitor_fdpass.c +++ b/monitor_fdpass.c @@ -29,6 +29,9 @@ #include #include #include +#ifdef HAVE_SYS_UN_H +#include +#endif #include #include