Get the host-side infra building with current gcc.
Bart
2008-08-14 Bart Veer <[EMAIL PROTECTED]>
* assert.cxx: fix build problems with recent gcc
Index: assert.cxx
===================================================================
RCS file: /cvs/ecos/ecos/host/infra/assert.cxx,v
retrieving revision 1.4
diff -u -p -r1.4 assert.cxx
--- assert.cxx 11 Aug 2002 21:42:03 -0000 1.4
+++ assert.cxx 14 Aug 2008 21:41:07 -0000
@@ -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" {