From a878b2d797fb065d9d7c3dbc2594635a017731bb Mon Sep 17 00:00:00 2001
From: Joseph Myers <joseph@codesourcery.com>
Date: Wed, 1 Dec 2010 17:29:12 +0000
Subject: [PATCH] intl.c: Don't include tm.h.

	* intl.c: Don't include tm.h.
	* Makefile.in (intl.o): Don't depend on $(TM_H).

From-SVN: r167352
---
 gcc/ChangeLog   | 5 +++++
 gcc/Makefile.in | 2 +-
 gcc/intl.c      | 1 -
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c9e7072aba24..e239bea7392c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-01  Joseph Myers  <joseph@codesourcery.com>
+
+	* intl.c: Don't include tm.h.
+	* Makefile.in (intl.o): Don't depend on $(TM_H).
+
 2010-12-01  Sebastian Pop  <sebastian.pop@amd.com>
 
 	* graphite-sese-to-poly.c (analyze_drs_in_stmts): Fix set but
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index a3ea7a36c680..231500b23941 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -4000,7 +4000,7 @@ gengtype-lex.c : gengtype-lex.l
 
 #
 # Remake internationalization support.
-intl.o: intl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) intl.h Makefile
+intl.o: intl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h intl.h Makefile
 	$(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
 	  -DLOCALEDIR=\"$(localedir)\" \
 	  -c $(srcdir)/intl.c $(OUTPUT_OPTION)
diff --git a/gcc/intl.c b/gcc/intl.c
index f75be1f2144f..c13ab8e63d8a 100644
--- a/gcc/intl.c
+++ b/gcc/intl.c
@@ -21,7 +21,6 @@ along with GCC; see the file COPYING3.  If not see
 #include "config.h"
 #include "system.h"
 #include "coretypes.h"
-#include "tm.h"
 #include "intl.h"
 
 #ifdef HAVE_LANGINFO_CODESET
-- 
GitLab