summaryrefslogtreecommitdiff
path: root/nuttx/net/socket/getsockname.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/socket/getsockname.c')
-rw-r--r--nuttx/net/socket/getsockname.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/net/socket/getsockname.c b/nuttx/net/socket/getsockname.c
index 45378f823..5b799b48c 100644
--- a/nuttx/net/socket/getsockname.c
+++ b/nuttx/net/socket/getsockname.c
@@ -50,8 +50,9 @@
#include <nuttx/net/tcp.h>
#include <nuttx/net/udp.h>
-#include "socket/socket.h"
#include "netdev/netdev.h"
+#include "udp/udp.h"
+#include "socket/socket.h"
#ifdef CONFIG_NET