summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-02-11 21:19:20 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2010-02-11 21:19:20 +0100
commita2ea1bac601ca79946e2a215dac9427c526cedab (patch)
tree13b9c7a25951133317c25d61e7300a33597fcdbf
parent2af25a971a28ccac05d2385669e8b103c0328f7d (diff)
Moves errno.h include.
-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 d3fd7450..82b5de0c 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 f4cb112a..be841bdf 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"