fix bug to compile MetalSVM on systems without RCCE support

This commit is contained in:
Stefan Lankes 2011-07-04 22:21:02 +02:00
parent dfe6759fc9
commit ea10e8f4d6
2 changed files with 3 additions and 2 deletions

View file

@ -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 */

View file

@ -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;