Fix bug 2562: Windows x64 build broken on 5.7.3.pre4
diff --git a/agent/mibgroup/ucd-snmp/pass_persist.c b/agent/mibgroup/ucd-snmp/pass_persist.c
index 221761a..8467e19 100644
--- a/agent/mibgroup/ucd-snmp/pass_persist.c
+++ b/agent/mibgroup/ucd-snmp/pass_persist.c
@@ -726,7 +726,9 @@
* kill the child, in case we got an error and the child is not
* cooperating. Ignore the return code.
*/
+#ifdef HAVE_SIGNAL
(void)kill(persist_pipes[iindex].pid, SIGKILL);
+#endif
#if HAVE_SYS_WAIT_H
waitpid(persist_pipes[iindex].pid, NULL, 0);
#endif