diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-03-23 13:10:05 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-03-23 13:10:05 -0600 |
commit | 05235c416cd2d75064edea4cd6669de03289f46d (patch) | |
tree | e6849e196776c312dac242e46c6c62cab28a2e3a | |
parent | 384887c15dfa413e8e08b1997e5ca3b3c0c59986 (diff) | |
download | nuttx-05235c416cd2d75064edea4cd6669de03289f46d.tar.gz nuttx-05235c416cd2d75064edea4cd6669de03289f46d.tar.bz2 nuttx-05235c416cd2d75064edea4cd6669de03289f46d.zip |
Fix version number display in NSH prompt
-rw-r--r-- | apps/ChangeLog.txt | 3 | ||||
-rw-r--r-- | apps/nshlib/nsh_parse.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/ChangeLog.txt b/apps/ChangeLog.txt index b836ee4a2..b92b147b1 100644 --- a/apps/ChangeLog.txt +++ b/apps/ChangeLog.txt @@ -861,3 +861,6 @@ 7.2 2014-xx-xx Gregory Nutt <gnutt@nuttx.org> + * Fix NuttShell version number display in welcome message. version.h + was not being included (2014-3-23). + diff --git a/apps/nshlib/nsh_parse.c b/apps/nshlib/nsh_parse.c index d08608bed..4be4b9888 100644 --- a/apps/nshlib/nsh_parse.c +++ b/apps/nshlib/nsh_parse.c @@ -49,6 +49,7 @@ # include <sys/stat.h> #endif +#include <nuttx/version.h> #include <apps/nsh.h> #include "nsh.h" |