diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-10-03 12:27:57 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-10-04 07:23:52 -0400 |
| commit | ab67a5ff88399c14d34ea427cbd4c36fb2854804 (patch) | |
| tree | f155e1583fa745cc9d670de4acffb6b7a3b3d987 /lib/zebra.h | |
| parent | 53aa82daaf32a6fa54f1e3d2d9f2b4ce3247ba0e (diff) | |
lib: Include compiler.h as early as is possible in the build
The compiler.h header provides us with some useful macro's
that we are using in the system. We do not know exactly
where the CPP_NOTICE and CPP_WARN macros are used but
they can move around. Place this header early in the
build then.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/zebra.h')
| -rw-r--r-- | lib/zebra.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/zebra.h b/lib/zebra.h index b12f6616ba..97b1e95312 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -380,6 +380,12 @@ struct in_pktinfo { */ #define ZEBRA_HEADER_MARKER 254 +/* + * The compiler.h header is used for anyone using the CPP_NOTICE + * since this is universally needed, let's add it to zebra.h + */ +#include "compiler.h" + /* Zebra route's types are defined in route_types.h */ #include "route_types.h" |
