summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/helper.c2
-rw-r--r--src/server/helper.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/helper.c b/src/server/helper.c
index 46a5ba8..96647e1 100644
--- a/src/server/helper.c
+++ b/src/server/helper.c
@@ -3,6 +3,8 @@
#include <stdlib.h>
#include <signal.h>
#include <stdio.h>
+#include <errno.h>
+#include <sys/socket.h>
#ifdef HAVE_THREAD_NAMES
#include <sys/prctl.h> // For thread names
diff --git a/src/server/helper.h b/src/server/helper.h
index 5702f47..2fa67a5 100644
--- a/src/server/helper.h
+++ b/src/server/helper.h
@@ -6,9 +6,7 @@
#include "../types.h"
#include <netinet/in.h>
#include <string.h>
-#include <errno.h>
#include <unistd.h>
-#include <sys/socket.h>
#define ERROR_GOTO(jumplabel, ...) do { logadd(LOG_ERROR, __VA_ARGS__); goto jumplabel; } while (0);