SMTP: disable compilation when LWIP_TCP is disabled

This commit is contained in:
goldsimon 2011-10-21 13:28:01 +02:00
parent b9eba2dc8e
commit a412496558
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@
#include "smtp.h"
#if LWIP_TCP
#include "lwip/sys.h"
#include "lwip/sockets.h"
#include "lwip/tcp.h"
@ -1306,3 +1307,4 @@ smtp_process(void *arg, struct tcp_pcb *pcb, struct pbuf *p)
}
}
}
#endif /* LWIP_TCP */