Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
  • Loading branch information
louis-6wind committed Jan 12, 2024
1 parent ab11d1f commit ba0bc0b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions bfdd/bfd_packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#endif /* BFD_LINUX */

#include <netinet/if_ether.h>

#include <netinet/udp.h>

#include "lib/sockopt.h"
Expand Down
2 changes: 2 additions & 0 deletions isisd/isis_bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
#include <fcntl.h>

#if ISIS_METHOD == ISIS_METHOD_BPF
#ifndef GNU_LINUX
#include <netinet/if_ether.h>
#endif /* !GNU_LINUX */
#include <sys/time.h>
#include <sys/ioctl.h>
#include <net/bpf.h>
Expand Down
6 changes: 2 additions & 4 deletions isisd/isis_circuit.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@
* Institute of Communications Engineering
*/
#include <zebra.h>
#ifdef GNU_LINUX
#include <net/ethernet.h>
#else
#ifndef GNU_LINUX
#include <netinet/if_ether.h>
#endif
#endif /* !GNU_LINUX */

#include "log.h"
#include "memory.h"
Expand Down
2 changes: 2 additions & 0 deletions isisd/isis_dlpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@

#include <zebra.h>
#if ISIS_METHOD == ISIS_METHOD_DLPI
#ifndef GNU_LINUX
#include <netinet/if_ether.h>
#endif /* !GNU_LINUX */
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
Expand Down
1 change: 0 additions & 1 deletion nhrpd/netlink_arp.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#endif

#include <fcntl.h>
#include <netinet/if_ether.h>
#include <linux/netlink.h>
#include <linux/neighbour.h>
#include <linux/netfilter/nfnetlink_log.h>
Expand Down
2 changes: 2 additions & 0 deletions nhrpd/nhrp_multicast.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@

#include <fcntl.h>
#include <net/ethernet.h>
#ifndef GNU_LINUX
#include <netinet/if_ether.h>
#endif /* !GNU_LINUX */
#include <linux/netlink.h>
#include <linux/neighbour.h>
#include <linux/netfilter/nfnetlink_log.h>
Expand Down
1 change: 0 additions & 1 deletion zebra/tc_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <linux/rtnetlink.h>
#include <linux/pkt_cls.h>
#include <linux/pkt_sched.h>
#include <netinet/if_ether.h>
#include <sys/socket.h>

#include "if.h"
Expand Down

0 comments on commit ba0bc0b

Please sign in to comment.