diff options
Diffstat (limited to 'nuttx/net/uip/uip-tcpsend.c')
-rw-r--r-- | nuttx/net/uip/uip-tcpsend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/net/uip/uip-tcpsend.c b/nuttx/net/uip/uip-tcpsend.c index ef4a1b7af..1729dd75b 100644 --- a/nuttx/net/uip/uip-tcpsend.c +++ b/nuttx/net/uip/uip-tcpsend.c @@ -42,7 +42,7 @@ ****************************************************************************/ #include <nuttx/config.h> -#ifdef CONFIG_NET +#if defined(CONFIG_NET) && defined(CONFIG_NET_TCP) #include <sys/types.h> #include <debug.h> @@ -362,4 +362,4 @@ void uip_tcpack(struct uip_driver_s *dev, struct uip_conn *conn, uint8 ack) uip_tcpsendcommon(dev, conn); } -#endif /* CONFIG_NET */ +#endif /* CONFIG_NET && CONFIG_NET_TCP */ |