Mercurial > ecos
diff host/infra/assert.cxx @ 2527:938a6182d15f
Fix build problems with recent gcc
| author | bartv |
|---|---|
| date | Mon, 18 Aug 2008 09:38:10 +0000 |
| parents | f58bc1b2c2bc |
| children | 74dbf4c3f2e1 |
line wrap: on
line diff
--- 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" {
