]> Pileus Git - ~andy/fetchmail/commitdiff
Bring back SIGCHLD declaration.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 9 Sep 2001 10:41:19 +0000 (10:41 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 9 Sep 2001 10:41:19 +0000 (10:41 -0000)
svn path=/trunk/; revision=3461

sink.c

diff --git a/sink.c b/sink.c
index 36b4ce54fc9af5f99b7ec52f9472b93a1125908e..3c19ed68fff99ebfbf763225104fac902204530c 100644 (file)
--- 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)