aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-09-09 10:41:19 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-09-09 10:41:19 +0000
commit5136c015f8ed33c373416e4e3e2583cac12a215a (patch)
tree0798872058840ccd60977164cb277916c7eea2f9 /sink.c
parent391eeae8cd3ee25454bd0ec98ff20e70fa18ffee (diff)
downloadfetchmail-5136c015f8ed33c373416e4e3e2583cac12a215a.tar.gz
fetchmail-5136c015f8ed33c373416e4e3e2583cac12a215a.tar.bz2
fetchmail-5136c015f8ed33c373416e4e3e2583cac12a215a.zip
Bring back SIGCHLD declaration.
svn path=/trunk/; revision=3461
Diffstat (limited to 'sink.c')
-rw-r--r--sink.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sink.c b/sink.c
index 36b4ce54..3c19ed68 100644
--- a/sink.c
+++ b/sink.c
@@ -179,6 +179,11 @@ int smtp_open(struct query *ctl)
}
/* these are shared by open_sink and stuffline */
+#ifndef HAVE_SIGACTION
+static RETSIGTYPE (*sigchld)(int);
+#else
+static struct sigaction sa_old;
+#endif /* HAVE_SIGACTION */
static FILE *sinkfp;
int stuffline(struct query *ctl, char *buf)