Skip to content

Commit

Permalink
gcc-plugins: Add include required by GCC release 8
Browse files Browse the repository at this point in the history
GCC requires another #include to get the gcc-plugins to build cleanly.

Signed-off-by: Valdis Kletnieks <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
  • Loading branch information
valdisk authored and kees committed Feb 6, 2018
1 parent d8a5b80 commit 80d1724
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/gcc-plugins/gcc-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@
#include "predict.h"
#include "ipa-utils.h"

#if BUILDING_GCC_VERSION >= 8000
#include "stringpool.h"
#endif

#if BUILDING_GCC_VERSION >= 4009
#include "attribs.h"
#include "varasm.h"
Expand Down

0 comments on commit 80d1724

Please sign in to comment.