examples/null/null_main.c: Need to include config.h it order know if this is or is not a kernel build
This commit is contained in:
parent
2e027d27ee
commit
84c649af2b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user