forked from Mirror/frr
*: Remove cost of including netinet/icmp.h everywhere
This file inclusion is only used in 3 places move the includes to those spots. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
ca54540576
commit
75b3e82dfa
|
@ -134,8 +134,6 @@
|
|||
#include <netinet6/ip6.h>
|
||||
#endif /* HAVE_NETINET6_IP6_H */
|
||||
|
||||
#include <netinet/icmp6.h>
|
||||
|
||||
#ifdef HAVE_NETINET6_ND6_H
|
||||
#include <netinet6/nd6.h>
|
||||
#endif /* HAVE_NETINET6_ND6_H */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
*/
|
||||
|
||||
#include <zebra.h>
|
||||
#include <netinet/icmp6.h>
|
||||
#include <netinet/ip6.h>
|
||||
|
||||
#include "lib/memory.h"
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
*/
|
||||
|
||||
#include <zebra.h>
|
||||
#include <netinet/icmp6.h>
|
||||
|
||||
#include "log.h"
|
||||
#include "privs.h"
|
||||
#include "if.h"
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
*/
|
||||
|
||||
#include <zebra.h>
|
||||
#include <netinet/icmp6.h>
|
||||
|
||||
#include "memory.h"
|
||||
#include "sockopt.h"
|
||||
|
|
Loading…
Reference in a new issue