From a412496558028234289a546de23422a82bfb8e00 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Fri, 21 Oct 2011 13:28:01 +0200 Subject: [PATCH] SMTP: disable compilation when LWIP_TCP is disabled --- apps/smtp/smtp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/smtp/smtp.c b/apps/smtp/smtp.c index 524851c..612785a 100644 --- a/apps/smtp/smtp.c +++ b/apps/smtp/smtp.c @@ -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 */