lto: Fixed test(U*) used but never defined error.

This Patch fixes the error during bootstrapped build.

gcc/ChangeLog:

        * lto-object.cc:

gcc/lto/ChangeLog:

        * lto-lang.cc:

Signed-off-by: Rishi Raj <rishiraj45035@gmail.com>
diff --git a/gcc/lto-object.cc b/gcc/lto-object.cc
index 33eca5a..097c81a 100644
--- a/gcc/lto-object.cc
+++ b/gcc/lto-object.cc
@@ -31,6 +31,7 @@
 #include "gimple.h"
 #include "diagnostic-core.h"
 #include "tm.h"
+#include "cgraph.h"
 #include "lto-streamer.h"
 #include "lto-section-names.h"
 #include "simple-object.h"
diff --git a/gcc/lto/lto-lang.cc b/gcc/lto/lto-lang.cc
index cf33bf1..35f6032 100644
--- a/gcc/lto/lto-lang.cc
+++ b/gcc/lto/lto-lang.cc
@@ -26,6 +26,7 @@
 #include "basic-block.h"
 #include "tree.h"
 #include "gimple.h"
+#include "cgraph.h"
 #include "stringpool.h"
 #include "diagnostic-core.h"
 #include "stor-layout.h"