From: valdis.kletnieks@vt.edu Date: Sun, 4 Feb 2018 17:01:43 +0000 (-0500) Subject: gcc-plugins: Add include required by GCC release 8 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=80d172431696482d9acd8d2c4ea78fed8956e2a1;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Kees Cook --- 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"