Skip to content

Commit

Permalink
Merge pull request #3129 from donaldsharp/early_4.0
Browse files Browse the repository at this point in the history
lib: Include compiler.h as early as is possible in the build
  • Loading branch information
eqvinox authored Oct 4, 2018
2 parents bd027b7 + d9d402f commit 270afde
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/zebra.h
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,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"

Expand Down

0 comments on commit 270afde

Please sign in to comment.