summaryrefslogtreecommitdiffstats
path: root/src/local.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/local.c')
-rw-r--r--src/local.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/local.c b/src/local.c
index d861e12..f0aba1c 100644
--- a/src/local.c
+++ b/src/local.c
@@ -18,12 +18,13 @@
* Description: UNIX sockets library
*/
+#include "local.h"
+
#include <stdio.h>
#include <unistd.h>
+#include <string.h>
#include <arpa/inet.h>
-#include <errno.h>
-
-#include "local.h"
+#include <sys/un.h>
int local_server_create(struct local_conf *conf)
{