fix bug to compile MetalSVM on systems without RCCE support
This commit is contained in:
parent
dfe6759fc9
commit
ea10e8f4d6
2 changed files with 3 additions and 2 deletions
|
@ -34,7 +34,7 @@
|
|||
#include <metalsvm/mailbox.h> /* mailbox_ptr_t */
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_LWIP
|
||||
#if defined(CONFIG_LWIP) && defined(CONFIG_ROCKCREEK)
|
||||
|
||||
#include <lwip/netif.h> /* lwip netif */
|
||||
#include <lwip/stats.h> /* inteface stats */
|
||||
|
|
|
@ -141,8 +141,9 @@ int STDCALL network_task(void* arg)
|
|||
|
||||
int network_shutdown(void)
|
||||
{
|
||||
#if defined(CONFIG_LWIP) && defined(CONFIG_ROCKCREEK)
|
||||
mmnif_close();
|
||||
|
||||
#endif
|
||||
done = 1;
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue