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

Sebastian Huber sebh at rtems.org
Tue Jul 23 13:09:29 UTC 2013


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Jul 23 13:34:21 2013 +0200

score: Include <string.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 ff8a185..858ca93 100644
--- a/cpukit/score/include/rtems/score/basedefs.h
+++ b/cpukit/score/include/rtems/score/basedefs.h
@@ -40,6 +40,13 @@
    * break application source files that relied on this accidentally.
    */
   #include <limits.h>
+
+  /*
+   * FIXME: This include should not be present.  In older RTEMS versions
+   * <rtems.h> provided <string.h> indirectly.  This include is here to not
+   * break application source files that relied on this accidentally.
+   */
+  #include <string.h>
 #endif
 
 #ifndef TRUE




More information about the vc mailing list