Fix a UDP build issue

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4654 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2012-04-25 15:16:45 +00:00
parent c649e981d3
commit f1e682bfbe
2 changed files with 3 additions and 1 deletions

View File

@ -2679,4 +2679,6 @@
Rx DMA into a circular buffer (contributed by Mike Smith)
* configs/pic32mx7mmb: Beginning of a configuration for the Mikroelektronka
PIC32MX7 Multimedia Board (MMB).
* net/recvfrom.c: Fix a compilation problem. Some UDP logic was conditioned
on TCP, not UDP.

View File

@ -229,7 +229,7 @@ static inline void recvfrom_newtcpdata(FAR struct uip_driver_s *dev,
*
****************************************************************************/
#ifdef CONFIG_NET_TCP
#ifdef CONFIG_NET_UDP
static inline void recvfrom_newudpdata(FAR struct uip_driver_s *dev,
FAR struct recvfrom_s *pstate)
{