mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
net: inet.h match inet_sockif.c definition
Fixes psock_socket: ERROR: socket address family unsupported: 2 When using the minimal CONFIG_NET configuration typically used for SocketCAN Update net/inet/inet.h Co-authored-by: Xiang Xiao <xiaoxiang781216@gmail.com> Update net/inet/inet.h Co-authored-by: Xiang Xiao <xiaoxiang781216@gmail.com>
This commit is contained in:
committed by
Xiang Xiao
parent
3c4053a385
commit
c371afc7f4
@@ -29,6 +29,7 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <netinet/in.h>
|
||||
#include <nuttx/net/netconfig.h>
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <netinet/in.h>
|
||||
#include <nuttx/net/netconfig.h>
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user