Skip to content

Commit

Permalink
Merge pull request #3131 from donaldsharp/early_6.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 53aa82d + ab67a5f commit 32b7381
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 @@ -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"

Expand Down

0 comments on commit 32b7381

Please sign in to comment.