summaryrefslogtreecommitdiff
path: root/src/listen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/listen.c')
-rw-r--r--src/listen.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/listen.c b/src/listen.c
index 5a2b8d3da..c0c514f2d 100644
--- a/src/listen.c
+++ b/src/listen.c
@@ -21,9 +21,15 @@
#include "conf.h"
#include "log.h"
#include "utils.h"
-#include "os_compat.h"
-
-#include "../config.h"
+#include "config.h"
+
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <string.h>
+#include <netinet/in.h>
+#include <sys/un.h>
+#include <netdb.h>
#define MAXHOSTNAME 1024