]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Addition necessary includes in headers files
authorPavel Tvrdík <pawel.tvrdik@gmail.cz>
Tue, 17 Mar 2015 11:39:10 +0000 (12:39 +0100)
committerPavel Tvrdík <pawel.tvrdik@gmail.cz>
Tue, 17 Mar 2015 11:39:10 +0000 (12:39 +0100)
lib/birdlib.h
lib/lists.h
lib/string.h
nest/iface.h
proto/rip/rip.h

index 8dc393bb7e418c603ff44c856af81f5560eb9a3c..77d03a8be0c4dd7ba951f308493d35b29ef544d8 100644 (file)
@@ -12,6 +12,7 @@
 #include "timer.h"
 #include "alloca.h"
 #include "lib/null.h"
+#include "sysdep/config.h"
 
 /* Ugly structure offset handling macros */
 
index 80a4dc93731e3b0835fbe6bea9e3c53726dd81f0..d4aeccbb15ef42173580d8c378df56d56793bceb 100644 (file)
@@ -51,6 +51,7 @@ typedef struct list {                 /* In fact two overlayed nodes */
 #define EMPTY_LIST(list) (!(list).head->next)
 
 
+
 #ifndef _BIRD_LISTS_C_
 #define LIST_INLINE static inline
 #include "lib/lists.c"
index 528a1a1924255b6ccf1eed05b4d120f2f4d6fe01..d23c1d946010c6865609eabe968fb13b52782103 100644 (file)
@@ -13,6 +13,8 @@
 #include <string.h>
 #include <strings.h>
 
+#include "lib/birdlib.h"
+
 int bsprintf(char *str, const char *fmt, ...);
 int bvsprintf(char *str, const char *fmt, va_list args);
 int bsnprintf(char *str, int size, const char *fmt, ...);
index 56710e4a4b219d9d6329a0d2b75bb7e9d1d47b85..57d72b0dd0dc4e5e1c67cf156a7692b45166a107 100644 (file)
@@ -10,6 +10,7 @@
 #define _BIRD_IFACE_H_
 
 #include "lib/lists.h"
+#include "lib/ip.h"
 
 extern list iface_list;
 
index 2a3272602bd473e54f78121cdd48b5ceb89593a5..968e7372a02b27ba600d167b1fad69590200d597 100644 (file)
@@ -4,9 +4,12 @@
    FIXME: in V6, they insert additional entry whenever next hop differs. Such entry is identified by 0xff in metric.
  */
 
+#include "nest/bird.h"
 #include "nest/route.h"
 #include "nest/password.h"
 #include "nest/locks.h"
+#include "nest/iface.h"
+#include "lib/socket.h"
 
 #define EA_RIP_TAG     EA_CODE(EAP_RIP, 0)
 #define EA_RIP_METRIC  EA_CODE(EAP_RIP, 1)