0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 17:51:53 +00:00

Addition necessary includes in headers files

This commit is contained in:
Pavel Tvrdík 2015-03-17 12:39:10 +01:00
parent 53e27ec79d
commit a2cdd9532d
5 changed files with 8 additions and 0 deletions

View File

@ -12,6 +12,7 @@
#include "timer.h"
#include "alloca.h"
#include "lib/null.h"
#include "sysdep/config.h"
/* Ugly structure offset handling macros */

View 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"

View 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, ...);

View File

@ -10,6 +10,7 @@
#define _BIRD_IFACE_H_
#include "lib/lists.h"
#include "lib/ip.h"
extern list iface_list;

View 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)