gcc-plugins: Add include required by GCC release 8
authorvaldis.kletnieks@vt.edu <valdis.kletnieks@vt.edu>
Sun, 4 Feb 2018 17:01:43 +0000 (12:01 -0500)
committerKees Cook <keescook@chromium.org>
Tue, 6 Feb 2018 01:10:10 +0000 (17:10 -0800)
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>
scripts/gcc-plugins/gcc-common.h

index ffd1dfaa1cc10b7212e7dade49c2b310a0dbd4a2..f467500533776c7394e83f4ae4fa47fb76521394 100644 (file)
 #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"