From 265d499a99a690b8fd6abca026d8ba4b76807ed3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 28 Feb 2008 16:44:13 +0000 Subject: [PATCH] 2008-02-28 Joel Sherrill * iostream/init.cc: Add include of stdlib.h for exit(). Needed by gcc 4.3.x. --- testsuites/samples/ChangeLog | 5 +++++ testsuites/samples/iostream/init.cc | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * iostream/init.cc: Add include of stdlib.h for exit(). Needed by gcc + 4.3.x. + 2008-01-29 Joel Sherrill * 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 +#include rtems_task Init( rtems_task_argument ignored