nsh: Added conditional include of netinit.

This commit is contained in:
Fotis Panagiotopoulos 2023-03-08 15:57:31 +02:00 committed by Xiang Xiao
parent ad9a44d606
commit dd2c3b3f6a

View File

@ -28,12 +28,15 @@
#include <nuttx/symtab.h>
#include "system/readline.h"
#include "netutils/netinit.h"
#include "nshlib/nshlib.h"
#include "nsh.h"
#include "nsh_console.h"
#ifdef CONFIG_NSH_NETINIT
# include "netutils/netinit.h"
#endif
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/