summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-18 15:55:46 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-22 16:45:59 +0200
commita9127a2e65e9d3f130e284e41680012270d841ea (patch)
tree1a7ef877bf24fc581ab1d98dd27719287f668963
parentshell: Include missing header file (diff)
downloadrtems-a9127a2e65e9d3f130e284e41680012270d841ea.tar.bz2
testsuites: Include missing header files
-rw-r--r--testsuites/libtests/termios01/init.c1
-rw-r--r--testsuites/psxtests/psxconfig01/init.c1
-rw-r--r--testsuites/psxtests/psxfatal02/testcase.h1
-rw-r--r--testsuites/psxtests/psxid01/init.c1
-rw-r--r--testsuites/psxtests/psxsignal01/init.c1
-rw-r--r--testsuites/sptests/spfatal12/testcase.h2
-rw-r--r--testsuites/support/src/test_support.c1
7 files changed, 8 insertions, 0 deletions
diff --git a/testsuites/libtests/termios01/init.c b/testsuites/libtests/termios01/init.c
index 9649ffa762..b15c11c193 100644
--- a/testsuites/libtests/termios01/init.c
+++ b/testsuites/libtests/termios01/init.c
@@ -15,6 +15,7 @@
#include <termios.h>
#include <rtems/termiostypes.h>
#include <fcntl.h>
+#include <limits.h>
#include <sys/errno.h>
/* rtems_termios_baud_t is a typedefs to int32_t */
diff --git a/testsuites/psxtests/psxconfig01/init.c b/testsuites/psxtests/psxconfig01/init.c
index b2bd6394bf..dcf15ff542 100644
--- a/testsuites/psxtests/psxconfig01/init.c
+++ b/testsuites/psxtests/psxconfig01/init.c
@@ -35,6 +35,7 @@
#include <signal.h>
#include <stdio.h>
#include <time.h>
+#include <limits.h>
#include <rtems/libcsupport.h>
diff --git a/testsuites/psxtests/psxfatal02/testcase.h b/testsuites/psxtests/psxfatal02/testcase.h
index f09d4141d2..411782945b 100644
--- a/testsuites/psxtests/psxfatal02/testcase.h
+++ b/testsuites/psxtests/psxfatal02/testcase.h
@@ -3,6 +3,7 @@
*/
#include <errno.h>
+#include <limits.h>
/*
* Way too much stack space. Should generate a fatal error
diff --git a/testsuites/psxtests/psxid01/init.c b/testsuites/psxtests/psxid01/init.c
index 829732bef9..4fbff45c9e 100644
--- a/testsuites/psxtests/psxid01/init.c
+++ b/testsuites/psxtests/psxid01/init.c
@@ -16,6 +16,7 @@
#include <unistd.h>
#include <errno.h>
+#include <limits.h>
#include <sys/types.h>
/* forward declarations to avoid warnings */
diff --git a/testsuites/psxtests/psxsignal01/init.c b/testsuites/psxtests/psxsignal01/init.c
index 8a85bef933..2e5925ddff 100644
--- a/testsuites/psxtests/psxsignal01/init.c
+++ b/testsuites/psxtests/psxsignal01/init.c
@@ -15,6 +15,7 @@
#include "system.h"
#include <signal.h>
#include <errno.h>
+#include <reent.h>
/* forward declarations to avoid warnings */
int test_main(void);
diff --git a/testsuites/sptests/spfatal12/testcase.h b/testsuites/sptests/spfatal12/testcase.h
index 73cb7a9616..1fd7f01ad5 100644
--- a/testsuites/sptests/spfatal12/testcase.h
+++ b/testsuites/sptests/spfatal12/testcase.h
@@ -8,6 +8,8 @@
* http://www.rtems.com/license/LICENSE.
*/
+#include <rtems/score/wkspace.h>
+
#define FATAL_ERROR_TEST_NAME "12"
#define FATAL_ERROR_DESCRIPTION \
"_Heap_Initialize fails during RTEMS initialization"
diff --git a/testsuites/support/src/test_support.c b/testsuites/support/src/test_support.c
index b3cd744152..4281b6fc50 100644
--- a/testsuites/support/src/test_support.c
+++ b/testsuites/support/src/test_support.c
@@ -13,6 +13,7 @@
#include <fcntl.h>
#include <tmacros.h>
+#include <limits.h>
#include "test_support.h"
#include <rtems/libcsupport.h>