[PATCH 05/25] testsuites: Include missing header files

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jul 18 14:25:53 UTC 2013


---
 testsuites/libtests/termios01/init.c      |    1 +
 testsuites/psxtests/psxconfig01/init.c    |    1 +
 testsuites/psxtests/psxfatal02/testcase.h |    1 +
 testsuites/psxtests/psxid01/init.c        |    1 +
 testsuites/support/src/test_support.c     |    1 +
 5 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/testsuites/libtests/termios01/init.c b/testsuites/libtests/termios01/init.c
index 9649ffa..b15c11c 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 b2bd639..dcf15ff 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 f09d414..4117829 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 829732b..4fbff45 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/support/src/test_support.c b/testsuites/support/src/test_support.c
index b3cd744..4281b6f 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>
 
-- 
1.7.7




More information about the devel mailing list