aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-12-11 03:35:50 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-12-11 03:35:50 +0000
commit6f636268067bde116cc697e359b8bf4334741be2 (patch)
tree531caa62d618cf7c9b5ee4c77bc202495137b344
parent58698de7f70f6cf2e2fb1193900d36bf68878153 (diff)
downloadfetchmail-6f636268067bde116cc697e359b8bf4334741be2.tar.gz
fetchmail-6f636268067bde116cc697e359b8bf4334741be2.tar.bz2
fetchmail-6f636268067bde116cc697e359b8bf4334741be2.zip
Solve a SIGCLD compilation problem.
svn path=/trunk/; revision=623
-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 */