gcc-plugins: Add include required by GCC release 8
"Linux Kernel Mailing List" <[email protected]>
| Newsgroups | gmane.linux.kernel.commits.head |
|---|---|
| Message-ID | <[email protected]> |
Web: https://git.kernel.org/torvalds/c/80d172431696482d9acd8d2c4ea78fed8956e2a1 Commit: 80d172431696482d9acd8d2c4ea78fed8956e2a1 Parent: d8a5b80568a9cb66810e75b182018e9edb68e8ff Refname: refs/heads/master Author: [email protected] <[email protected]> AuthorDate: Sun Feb 4 12:01:43 2018 -0500 Committer: Kees Cook <[email protected]> CommitDate: Mon Feb 5 17:10:10 2018 -0800 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 <[email protected]> Signed-off-by: Kees Cook <[email protected]> --- scripts/gcc-plugins/gcc-common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/gcc-plugins/gcc-common.h b/scripts/gcc-plugins/gcc-common.h index ffd1dfaa1cc1..f46750053377 100644 --- a/scripts/gcc-plugins/gcc-common.h +++ b/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" -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html