diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-02-28 16:44:13 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-02-28 16:44:13 +0000 |
commit | 265d499a99a690b8fd6abca026d8ba4b76807ed3 (patch) | |
tree | fbe68a30c1b7249da5e9adef794e1c3db7bb081d /testsuites/samples | |
parent | 2008-02-28 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-265d499a99a690b8fd6abca026d8ba4b76807ed3.tar.bz2 |
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.
Diffstat (limited to 'testsuites/samples')
-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 |