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:
Peter van der Perk
2024-11-04 11:50:43 +01:00
committed by Xiang Xiao
parent 3c4053a385
commit c371afc7f4
5 changed files with 11 additions and 6 deletions
+1
View File
@@ -29,6 +29,7 @@
#include <string.h>
#include <unistd.h>
#include <netinet/in.h>
#include <nuttx/net/netconfig.h>
/****************************************************************************
+1
View File
@@ -29,6 +29,7 @@
#include <string.h>
#include <unistd.h>
#include <netinet/in.h>
#include <nuttx/net/netconfig.h>
/****************************************************************************