summaryrefslogtreecommitdiff
path: root/apps/nshlib/nsh.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-03 18:42:33 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-03 18:42:33 +0000
commitc5ec7c478098273586b7a5716e30dc82c1e6aba5 (patch)
tree241ec95305382eac68e212764452ee17655df48f /apps/nshlib/nsh.h
parentcfc7fe371ad9efc22bded77dc0779ec4eff1a9fd (diff)
downloadnuttx-c5ec7c478098273586b7a5716e30dc82c1e6aba5.tar.gz
nuttx-c5ec7c478098273586b7a5716e30dc82c1e6aba5.tar.bz2
nuttx-c5ec7c478098273586b7a5716e30dc82c1e6aba5.zip
Pass __KERNEL__ define (or not) to all makes to handle small differences in user-/kernel-builds
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3459 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/nshlib/nsh.h')
-rw-r--r--apps/nshlib/nsh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/nshlib/nsh.h b/apps/nshlib/nsh.h
index 38ba66a95..91b949cb7 100644
--- a/apps/nshlib/nsh.h
+++ b/apps/nshlib/nsh.h
@@ -45,6 +45,7 @@
#include <sys/types.h>
#include <stdint.h>
#include <stdbool.h>
+#include <errno.h>
#ifdef CONFIG_NSH_CONSOLE
# include <stdio.h>