From 1feea03e7463d8eaeb00d5df6c2cd3e8e20f2bcd Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 28 Apr 1998 14:39:34 +0000 Subject: Changed #include to #include "x/y" for our local includes, so that gcc -MM can be used to separate them from the system ones. Added automatic generation of dependencies. --- nest/bird.h | 6 +++--- nest/iface.h | 2 +- nest/main.c | 7 +++---- nest/protocol.h | 2 +- nest/route.h | 2 +- 5 files changed, 9 insertions(+), 10 deletions(-) (limited to 'nest') diff --git a/nest/bird.h b/nest/bird.h index 062e5fd..b9c9192 100644 --- a/nest/bird.h +++ b/nest/bird.h @@ -9,9 +9,9 @@ #ifndef _BIRD_BIRD_H_ #define _BIRD_BIRD_H_ -#include -#include -#include +#include "sysdep/config.h" +#include "lib/birdlib.h" +#include "lib/ip.h" extern u32 router_id; /* Our Router ID */ extern u16 this_as; /* Our Autonomous System Number */ diff --git a/nest/iface.h b/nest/iface.h index 7b85ece..aa8a135 100644 --- a/nest/iface.h +++ b/nest/iface.h @@ -9,7 +9,7 @@ #ifndef _BIRD_IFACE_H_ #define _BIRD_IFACE_H_ -#include +#include "lib/lists.h" struct iface { node n; diff --git a/nest/main.c b/nest/main.c index 8f60f27..8c26938 100644 --- a/nest/main.c +++ b/nest/main.c @@ -6,10 +6,9 @@ * Can be freely distributed and used under the terms of the GNU GPL. */ -#include -#include - -#include +#include "nest/bird.h" +#include "lib/lists.h" +#include "lib/resource.h" int main(void) diff --git a/nest/protocol.h b/nest/protocol.h index adca114..848feca 100644 --- a/nest/protocol.h +++ b/nest/protocol.h @@ -9,7 +9,7 @@ #ifndef _BIRD_PROTOCOL_H_ #define _BIRD_PROTOCOL_H_ -#include +#include "lib/resource.h" /* * Routing Protocol diff --git a/nest/route.h b/nest/route.h index 9e9ef7a..b3f0063 100644 --- a/nest/route.h +++ b/nest/route.h @@ -9,7 +9,7 @@ #ifndef _BIRD_ROUTE_H_ #define _BIRD_ROUTE_H_ -#include +#include "lib/resource.h" /* * Generic data structure for storing network prefixes. Also used -- cgit v1.2.3