Browse Source

gcc-plugins: Add include required by GCC release 8

GCC requires another #include to get the gcc-plugins to build cleanly.

Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: Kees Cook <keescook@chromium.org>
valdis.kletnieks@vt.edu 7 years ago
parent
commit
80d1724316
1 changed files with 4 additions and 0 deletions
  1. 4 0
      scripts/gcc-plugins/gcc-common.h

+ 4 - 0
scripts/gcc-plugins/gcc-common.h

@@ -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"