aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/listen.c3
-rw-r--r--src/listen.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/listen.c b/src/listen.c
index 48732b4ea..ebf33bc18 100644
--- a/src/listen.c
+++ b/src/listen.c
@@ -22,12 +22,9 @@
#include "log.h"
#include "utils.h"
-#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
-#include <sys/types.h>
#include <sys/socket.h>
-#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <netinet/in.h>
diff --git a/src/listen.h b/src/listen.h
index 771594435..ff889320f 100644
--- a/src/listen.h
+++ b/src/listen.h
@@ -21,10 +21,10 @@
#include "../config.h"
-#include <sys/select.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
+#include <sys/select.h>
void listenOnPort();