diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-16 13:23:58 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-16 13:23:58 -0600 |
commit | fe4c58b52a1a851eeab08a2c14a4c9f99d745368 (patch) | |
tree | 17e7c371774bc2cc6b758e38997ed10c7263944c /apps | |
parent | 40a2814d723bd42c1d1994cd81c5051e23a097ac (diff) | |
download | nuttx-fe4c58b52a1a851eeab08a2c14a4c9f99d745368.tar.gz nuttx-fe4c58b52a1a851eeab08a2c14a4c9f99d745368.tar.bz2 nuttx-fe4c58b52a1a851eeab08a2c14a4c9f99d745368.zip |
examples/null/null_main.c: Need to include config.h it order know if this is or is not a kernel build
Diffstat (limited to 'apps')
-rw-r--r-- | apps/examples/null/null_main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/examples/null/null_main.c b/apps/examples/null/null_main.c index 25a12d1cd..4ed4f8aca 100644 --- a/apps/examples/null/null_main.c +++ b/apps/examples/null/null_main.c @@ -37,6 +37,8 @@ * Included Files ****************************************************************************/ +#include <nuttx/config.h> + /**************************************************************************** * Definitions ****************************************************************************/ @@ -62,7 +64,7 @@ ****************************************************************************/ #ifdef CONFIG_BUILD_KERNEL -int main(int argc, FAR char *argv[]) +int main(int argc, char *argv[]) #else int null_main(int argc, char *argv[]) #endif |