aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
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)