aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS5
-rw-r--r--driver.c5
2 files changed, 10 insertions, 0 deletions
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 */