summaryrefslogtreecommitdiff
path: root/src/lib/sockets.c
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-07-07 15:37:34 +0200
committerdimitri staessens <[email protected]>2016-07-07 15:40:43 +0200
commitb3870ef695a256be4a4ed28a991c39aab37bd6f3 (patch)
tree33604c48880d3a01d7053608584236dd15fc43e8 /src/lib/sockets.c
parent04a8f3ceedefa63f9344311e5ff05ab3ce754fda (diff)
downloadouroboros-b3870ef695a256be4a4ed28a991c39aab37bd6f3.tar.gz
ouroboros-b3870ef695a256be4a4ed28a991c39aab37bd6f3.zip
ouroboros: Use ouroboros errno.h
All includes of <errno.h> within ouroboros are replaced with the ouroboros errno.
Diffstat (limited to 'src/lib/sockets.c')
-rw-r--r--src/lib/sockets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/sockets.c b/src/lib/sockets.c
index d60ea91a..9e13b687 100644
--- a/src/lib/sockets.c
+++ b/src/lib/sockets.c
@@ -23,6 +23,7 @@
#define OUROBOROS_PREFIX "libouroboros-sockets"
#include <ouroboros/config.h>
+#include <ouroboros/errno.h>
#include <ouroboros/logs.h>
#include <ouroboros/common.h>
#include <ouroboros/sockets.h>
@@ -32,7 +33,6 @@
#include <sys/un.h>
#include <string.h>
#include <stdlib.h>
-#include <errno.h>
int client_socket_open(char * file_name)
{