[rtems commit] score: Include <limits.h> in basedefs.h

Sebastian Huber sebh at rtems.org
Mon Jul 22 14:51:43 UTC 2013


Module:    rtems
Branch:    master
Commit:    e64f164335e2534c4a7c9586cf33b1dd3438d88d
Changeset: http://git.rtems.org/rtems/commit/?id=e64f164335e2534c4a7c9586cf33b1dd3438d88d

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Jul 19 08:51:52 2013 +0200

score: Include <limits.h> in basedefs.h

---

 cpukit/score/include/rtems/score/basedefs.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/cpukit/score/include/rtems/score/basedefs.h b/cpukit/score/include/rtems/score/basedefs.h
index d6b5e24..ff8a185 100644
--- a/cpukit/score/include/rtems/score/basedefs.h
+++ b/cpukit/score/include/rtems/score/basedefs.h
@@ -33,6 +33,13 @@
   #include <stddef.h>
   #include <stdbool.h>
   #include <stdint.h>
+
+  /*
+   * FIXME: This include should not be present.  In older RTEMS versions
+   * <rtems.h> provided <limits.h> indirectly.  This include is here to not
+   * break application source files that relied on this accidentally.
+   */
+  #include <limits.h>
 #endif
 
 #ifndef TRUE




More information about the vc mailing list