mirror of
https://github.com/apache/nuttx.git
synced 2026-09-21 05:14:27 +08:00
net/socket/accept: fix building with CONFIG_NET_LOCAL_STREAM
This commit is contained in:
+1
-1
@@ -130,7 +130,7 @@ int psock_accept(FAR struct socket *psock, FAR struct sockaddr *addr,
|
||||
FAR socklen_t *addrlen, FAR struct socket *newsock)
|
||||
{
|
||||
int errcode;
|
||||
#ifdef NET_TCP_HAVE_STACK
|
||||
#if defined(NET_TCP_HAVE_STACK) || defined(CONFIG_NET_LOCAL_STREAM)
|
||||
int ret;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user