summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/iostream/init.cc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-02-28 16:44:13 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-02-28 16:44:13 +0000
commit265d499a99a690b8fd6abca026d8ba4b76807ed3 (patch)
treefbe68a30c1b7249da5e9adef794e1c3db7bb081d /testsuites/samples/iostream/init.cc
parent2008-02-28 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-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 '')
-rw-r--r--testsuites/samples/iostream/init.cc3
1 files changed, 2 insertions, 1 deletions
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