[rtems commit] Include missing <limits.h>
Sebastian Huber
sebh at rtems.org
Fri Aug 25 10:54:00 UTC 2017
Module: rtems
Branch: master
Commit: 1f22b26945e5377f23f98497ebf23a6f25e68b10
Changeset: http://git.rtems.org/rtems/commit/?id=1f22b26945e5377f23f98497ebf23a6f25e68b10
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Aug 25 10:59:52 2017 +0200
Include missing <limits.h>
Update #2132.
---
c/src/lib/libbsp/i386/pc386/console/console_select.c | 1 +
c/src/lib/libbsp/i386/pc386/console/gdb_select.c | 1 +
cpukit/libmisc/shell/main_cmdchown.c | 1 +
cpukit/libmisc/shell/main_drvmgr.c | 1 +
cpukit/libmisc/shell/main_pci.c | 1 +
cpukit/posix/src/key.c | 2 ++
cpukit/posix/src/shm.c | 1 +
cpukit/score/src/condition.c | 1 +
8 files changed, 9 insertions(+)
diff --git a/c/src/lib/libbsp/i386/pc386/console/console_select.c b/c/src/lib/libbsp/i386/pc386/console/console_select.c
index f7e6bbc..15f4ee2 100644
--- a/c/src/lib/libbsp/i386/pc386/console/console_select.c
+++ b/c/src/lib/libbsp/i386/pc386/console/console_select.c
@@ -18,6 +18,7 @@
* http://www.rtems.org/license/LICENSE.
*/
+#include <limits.h>
#include <stdlib.h>
#include <termios.h>
diff --git a/c/src/lib/libbsp/i386/pc386/console/gdb_select.c b/c/src/lib/libbsp/i386/pc386/console/gdb_select.c
index 8e64658..1a8baf4 100644
--- a/c/src/lib/libbsp/i386/pc386/console/gdb_select.c
+++ b/c/src/lib/libbsp/i386/pc386/console/gdb_select.c
@@ -20,6 +20,7 @@
*/
#include <stdlib.h>
+#include <limits.h>
#include <bsp.h>
#include <rtems/libio.h>
diff --git a/cpukit/libmisc/shell/main_cmdchown.c b/cpukit/libmisc/shell/main_cmdchown.c
index 9cc8c44..7457639 100644
--- a/cpukit/libmisc/shell/main_cmdchown.c
+++ b/cpukit/libmisc/shell/main_cmdchown.c
@@ -17,6 +17,7 @@
#endif
#include <errno.h>
+#include <limits.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
diff --git a/cpukit/libmisc/shell/main_drvmgr.c b/cpukit/libmisc/shell/main_drvmgr.c
index 8779d19..c20c49f 100644
--- a/cpukit/libmisc/shell/main_drvmgr.c
+++ b/cpukit/libmisc/shell/main_drvmgr.c
@@ -13,6 +13,7 @@
#include "config.h"
#endif
+#include <limits.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/cpukit/libmisc/shell/main_pci.c b/cpukit/libmisc/shell/main_pci.c
index a71b3fd..0184111 100644
--- a/cpukit/libmisc/shell/main_pci.c
+++ b/cpukit/libmisc/shell/main_pci.c
@@ -12,6 +12,7 @@
#include "config.h"
#endif
+#include <limits.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/cpukit/posix/src/key.c b/cpukit/posix/src/key.c
index 6b2dc3d..48a52df 100644
--- a/cpukit/posix/src/key.c
+++ b/cpukit/posix/src/key.c
@@ -20,6 +20,8 @@
#include "config.h"
#endif
+#include <limits.h>
+
#include <rtems/config.h>
#include <rtems/sysinit.h>
diff --git a/cpukit/posix/src/shm.c b/cpukit/posix/src/shm.c
index 7dca6bb..d76b5b8 100644
--- a/cpukit/posix/src/shm.c
+++ b/cpukit/posix/src/shm.c
@@ -16,6 +16,7 @@
#include <sys/stat.h>
#include <fcntl.h>
+#include <limits.h>
#include <rtems/system.h>
#include <rtems/config.h>
diff --git a/cpukit/score/src/condition.c b/cpukit/score/src/condition.c
index 58569b2..bbbeb90 100644
--- a/cpukit/score/src/condition.c
+++ b/cpukit/score/src/condition.c
@@ -18,6 +18,7 @@
#include <sys/lock.h>
#include <errno.h>
+#include <limits.h>
#include <rtems/score/atomic.h>
#include <rtems/score/chainimpl.h>
More information about the vc
mailing list