summaryrefslogtreecommitdiff
path: root/src/irmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/irmd')
-rw-r--r--src/irmd/main.c2
-rw-r--r--src/irmd/registry.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c
index c1481a67..19bc5b9b 100644
--- a/src/irmd/main.c
+++ b/src/irmd/main.c
@@ -24,6 +24,7 @@
#define OUROBOROS_PREFIX "irmd"
#include <ouroboros/config.h>
+#include <ouroboros/errno.h>
#include <ouroboros/logs.h>
#include <ouroboros/sockets.h>
#include <ouroboros/ipcp.h>
@@ -46,7 +47,6 @@
#include <sys/un.h>
#include <signal.h>
#include <stdlib.h>
-#include <errno.h>
#include <string.h>
#include <limits.h>
#include <pthread.h>
diff --git a/src/irmd/registry.c b/src/irmd/registry.c
index ae532d5a..c5f81d77 100644
--- a/src/irmd/registry.c
+++ b/src/irmd/registry.c
@@ -26,13 +26,13 @@
#define OUROBOROS_PREFIX "registry"
+#include <ouroboros/errno.h>
#include <ouroboros/logs.h>
#include <ouroboros/irm_config.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
-#include <errno.h>
struct reg_instance * reg_instance_create(pid_t api)
{