[PATCH] GCC 3.4.3: libobjc build failure

Denis Zaitsev <[email protected]> Tue, 21 Dec 2004 02:35:48 +0500
Newsgroups org.kernel.vger.linux-gcc
Message-ID <[email protected]>
This patch is for exactly the same issue as described in

http://gcc.gnu.org/ml/gcc/2002-12/msg00033.html

The fix is exactly the same, just another file is the target.  Without
it libobjc fails to build when --with-objc-gc is given to configure.

Please, apply it.


2004-12-21  Denis Zaitsev  <[email protected]>

	* libobjc/gc.c: Include coretypes.h and tm.h.


--- libobjc/gc.c.orig	2003-05-24 02:04:58.000000000 +0600
+++ libobjc/gc.c	2004-12-21 01:27:00.000000000 +0500
@@ -26,6 +26,8 @@ Boston, MA 02111-1307, USA.  */
    the executable file might be covered by the GNU General Public License.  */
 
 #include "tconfig.h"
+#include "coretypes.h"
+#include "tm.h"
 #include "objc.h"
 #include "encoding.h"