summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorValdis Kletnieks <valdis.kletnieks@vt.edu>2018-02-04 12:01:43 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-05 09:26:42 +0200
commit616d41d1b4087a85ec1091f6a7f4460911083f44 (patch)
tree70d0f65a9438a9a387a546c4e0f9393ac98872ab /scripts
parent73b2e7073b51de0b03ebd15c97dd3ad0c3470810 (diff)
downloadlinux-stable-616d41d1b4087a85ec1091f6a7f4460911083f44.tar.gz
linux-stable-616d41d1b4087a85ec1091f6a7f4460911083f44.tar.bz2
linux-stable-616d41d1b4087a85ec1091f6a7f4460911083f44.zip
gcc-plugins: Add include required by GCC release 8
commit 80d172431696482d9acd8d2c4ea78fed8956e2a1 upstream. 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> Cc: Lance Albertson <lance@osuosl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/gcc-plugins/gcc-common.h4
1 files changed, 4 insertions, 0 deletions
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"