NET: Fix a few problems after big merge of network reorganization

This commit is contained in:
Gregory Nutt
2014-07-06 17:58:36 -06:00
parent 73f3ecf7e2
commit e89eac6365
6 changed files with 8 additions and 4 deletions
+2 -1
View File
@@ -49,6 +49,7 @@
# include <netpacket/packet.h>
#endif
#include <nuttx/net/net.h>
#include <nuttx/net/udp.h>
#include "socket/socket.h"
@@ -140,7 +141,7 @@ static int pkt_bind(FAR struct pkt_conn_s *conn,
****************************************************************************/
int psock_bind(FAR struct socket *psock, const struct sockaddr *addr,
socklen_t addrlen)
socklen_t addrlen)
{
#ifdef CONFIG_NET_PKT
FAR const struct sockaddr_ll *lladdr = (const struct sockaddr_ll *)addr;