summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2018-10-04 15:09:42 +0200
committerGitHub <noreply@github.com>2018-10-04 15:09:42 +0200
commit32b738124e6f6d0e1e8dcf0d6db91bfd225f23f2 (patch)
treef155e1583fa745cc9d670de4acffb6b7a3b3d987
parent53aa82daaf32a6fa54f1e3d2d9f2b4ce3247ba0e (diff)
parentab67a5ff88399c14d34ea427cbd4c36fb2854804 (diff)
Merge pull request #3131 from donaldsharp/early_6.0
lib: Include compiler.h as early as is possible in the build
-rw-r--r--lib/zebra.h6
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"