mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 11:23:07 +08:00
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:

committed by
Petro Karashchenko

parent
9884159346
commit
cfc005a460
@@ -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
|
||||
|
Reference in New Issue
Block a user