Mercurial > nand-ecoscentric
changeset 2527:938a6182d15f
Fix build problems with recent gcc
| author | bartv |
|---|---|
| date | Mon, 18 Aug 2008 09:38:10 +0000 |
| parents | cb3aa3606536 |
| children | a2fb80f5315f |
| files | host/infra/ChangeLog host/infra/assert.cxx |
| diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/host/infra/ChangeLog +++ b/host/infra/ChangeLog @@ -1,3 +1,7 @@ +2008-08-14 Bart Veer <bartv@ecoscentric.com> + + * assert.cxx: fix build problems with recent gcc + 2003-02-12 Bart Veer <bartv@ecoscentric.com> * Makefile.in, configure, testsuite/Makefile.in:
--- a/host/infra/assert.cxx +++ b/host/infra/assert.cxx @@ -59,8 +59,10 @@ // STDIO is needed for the default assertion handler. // STDLIB is needed for exit() and the status codes. +// STRING is needed for strcpy() #include <cstdio> #include <cstdlib> +#include <cstring> #if defined(__unix__) || defined(__CYGWIN32__) extern "C" {
