From 6f636268067bde116cc697e359b8bf4334741be2 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 11 Dec 1996 03:35:50 +0000 Subject: Solve a SIGCLD compilation problem. svn path=/trunk/; revision=623 --- NEWS | 5 +++++ driver.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/NEWS b/NEWS index 81d05218..d9acbc6c 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,11 @@ features -- before they are deleted. This improves recovery from sendmail and dropped-connection errors. +bugs -- + +* Fixed a FreeBSD compilaation glitch involving SIGCLD (thanks to + Masafumi NAKANE). + ------------------------------------------------------------------------------ fetchmail-2.2 (Mon Dec 9 00:15:01 EST 1996): diff --git a/driver.c b/driver.c index b85b4e14..0334e132 100644 --- a/driver.c +++ b/driver.c @@ -43,6 +43,11 @@ #include "fetchmail.h" #include "smtp.h" +/* BSD portability hack...I know, this is an ugly place to put it */ +#if !defined(SIGCLD) && defined(SIGCHLD) +#define SIGCLD SIGCHLD +#endif + #define SMTP_PORT 25 /* standard SMTP service port */ int batchlimit; /* how often to tear down the delivery connection */ -- cgit v1.2.3