diff options
-rw-r--r-- | testsuites/samples/ChangeLog | 5 | ||||
-rw-r--r-- | testsuites/samples/iostream/init.cc | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/testsuites/samples/ChangeLog b/testsuites/samples/ChangeLog index eaa3033daa..2070703fcc 100644 --- a/testsuites/samples/ChangeLog +++ b/testsuites/samples/ChangeLog @@ -1,3 +1,8 @@ +2008-02-28 Joel Sherrill <joel.sherrill@OARcorp.com> + + * iostream/init.cc: Add include of stdlib.h for exit(). Needed by gcc + 4.3.x. + 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com> * fileio/system.h, ticker/system.h: Add new Object Services collection. diff --git a/testsuites/samples/iostream/init.cc b/testsuites/samples/iostream/init.cc index 6ecf2f3c88..8616ff2f7c 100644 --- a/testsuites/samples/iostream/init.cc +++ b/testsuites/samples/iostream/init.cc @@ -10,7 +10,7 @@ * * Output parameters: NONE * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2008. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -24,6 +24,7 @@ #include "system.h" #include <iostream> +#include <stdlib.h> rtems_task Init( rtems_task_argument ignored |