From: Jack Howarth Date: Mon, 13 Dec 2010 18:34:45 +0000 (+0000) Subject: re PR bootstrap/46650 (r167010 breaks --enable-build-with-cxx) X-Git-Tag: releases/gcc-4.6.0~1940 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b767da733d09e7309c8e4700dacae239be5887d3;p=thirdparty%2Fgcc.git re PR bootstrap/46650 (r167010 breaks --enable-build-with-cxx) PR bootstrap/46650 * system.h: Include cstring for cxx bootstrap. Co-Authored-By: Joseph Myers From-SVN: r167764 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f11527f0b2c5..3c6ba19afc3c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-12-13 Jack Howarth + Joseph Myers + + PR bootstrap/46650 + * system.h: Include cstring for cxx bootstrap. + 2010-12-13 Jakub Jelinek PR lto/46879 diff --git a/gcc/system.h b/gcc/system.h index 3dc3b4e8d889..081e076fc28a 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -190,6 +190,10 @@ extern int fprintf_unlocked (FILE *, const char *, ...); extern int errno; #endif +#ifdef __cplusplus +# include +#endif + /* Some of glibc's string inlines cause warnings. Plus we'd rather rely on (and therefore test) GCC's string builtins. */ #define __NO_STRING_INLINES