summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/socket.h2
-rw-r--r--proto/bgp/bgp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/socket.h b/lib/socket.h
index d3fd745..82b5de0 100644
--- a/lib/socket.h
+++ b/lib/socket.h
@@ -9,6 +9,8 @@
#ifndef _BIRD_SOCKET_H_
#define _BIRD_SOCKET_H_
+#include <errno.h>
+
#include "lib/resource.h"
typedef struct birdsock {
diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c
index f4cb112..be841bd 100644
--- a/proto/bgp/bgp.c
+++ b/proto/bgp/bgp.c
@@ -55,8 +55,6 @@
#undef LOCAL_DEBUG
-#include <errno.h>
-
#include "nest/bird.h"
#include "nest/iface.h"
#include "nest/protocol.h"