arp: Remove the unnecessary inclusion of nuttx/net/arp

and change the remain inclusion to netinet/arp.h

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-12-15 18:57:43 +08:00
committed by Petro Karashchenko
parent 9884159346
commit cfc005a460
14 changed files with 7 additions and 28 deletions

View File

@@ -53,6 +53,7 @@
#include <net/if.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <netinet/arp.h>
#include <netinet/ether.h>
#include <nuttx/irq.h>
@@ -71,10 +72,6 @@
# endif
#endif
#ifdef CONFIG_NETLINK_ROUTE
# include <nuttx/net/arp.h>
#endif
#ifdef CONFIG_NETUTILS_NETLIB
# include "netutils/netlib.h"
#endif