summaryrefslogtreecommitdiffstats
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)
downloadbird-a2ea1bac601ca79946e2a215dac9427c526cedab.tar
bird-a2ea1bac601ca79946e2a215dac9427c526cedab.zip
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 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"