#include "client.h"
#include "send.h"
+#ifndef _WIN32
+
+#include <sys/types.h>
+#include <sys/wait.h>
+
/*
* dummy_handler - don't know if this is really needed but if alarm is still
* being used we probably will
/*
* sigterm_handler - exit the server
*/
+static void
+sigterm_handler(int sig) __attribute__((noreturn));
+
static void
sigterm_handler(int sig)
{
sigprocmask(SIG_UNBLOCK, &sigs, NULL);
}
+
+#else
+void
+setup_signals()
+{
+/* this is a stub for mingw32 */
+}
+
+void
+setup_reboot_signals()
+{
+/* this is a stub for mingw32 */
+}
+#endif