From 5136c015f8ed33c373416e4e3e2583cac12a215a Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 9 Sep 2001 10:41:19 +0000 Subject: Bring back SIGCHLD declaration. svn path=/trunk/; revision=3461 --- sink.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sink.c') 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) -- cgit v1.2.3