summaryrefslogtreecommitdiff
path: root/src/sig_handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sig_handler.c')
-rw-r--r--src/sig_handler.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sig_handler.c b/src/sig_handler.c
index 461c341..843ab9b 100644
--- a/src/sig_handler.c
+++ b/src/sig_handler.c
@@ -40,12 +40,12 @@
#include "sig_handler.h"
#include <errno.h>
+
#ifndef WINVER
#include <signal.h>
#include <unistd.h>
#include <fcntl.h>
-#include <sys/select.h>
static int sig_pipe_fds[2];
@@ -157,8 +157,10 @@ void signal_stop()
close(sig_pipe_fds[1]);
}
+
#else
+
#include <winsock2.h>
#include <windows.h>