diff --git a/bfdd/bfd_packet.c b/bfdd/bfd_packet.c index fec195c77eb6..ac982d17c006 100644 --- a/bfdd/bfd_packet.c +++ b/bfdd/bfd_packet.c @@ -22,6 +22,7 @@ #include #endif /* BFD_LINUX */ +#include #include #include diff --git a/isisd/isis_bpf.c b/isisd/isis_bpf.c index 42370a431ad7..0123d77cfedd 100644 --- a/isisd/isis_bpf.c +++ b/isisd/isis_bpf.c @@ -12,7 +12,10 @@ #include #if ISIS_METHOD == ISIS_METHOD_BPF +#ifndef GNU_LINUX +#include #include +#endif /* !GNU_LINUX */ #include #include #include diff --git a/isisd/isis_circuit.c b/isisd/isis_circuit.c index 7819b20e8f31..f5e94fe9baca 100644 --- a/isisd/isis_circuit.c +++ b/isisd/isis_circuit.c @@ -7,11 +7,10 @@ * Institute of Communications Engineering */ #include -#ifdef GNU_LINUX -#include -#else +#ifndef GNU_LINUX +#include #include -#endif +#endif /* !GNU_LINUX */ #include "log.h" #include "memory.h" diff --git a/isisd/isis_dlpi.c b/isisd/isis_dlpi.c index c2b744797910..66a92046d906 100644 --- a/isisd/isis_dlpi.c +++ b/isisd/isis_dlpi.c @@ -9,7 +9,9 @@ #include #if ISIS_METHOD == ISIS_METHOD_DLPI +#ifndef GNU_LINUX #include +#endif /* !GNU_LINUX */ #include #include #include diff --git a/nhrpd/netlink_arp.c b/nhrpd/netlink_arp.c index aed59aa0a459..de7e1bf34858 100644 --- a/nhrpd/netlink_arp.c +++ b/nhrpd/netlink_arp.c @@ -12,7 +12,6 @@ #endif #include -#include #include #include #include diff --git a/nhrpd/nhrp_multicast.c b/nhrpd/nhrp_multicast.c index 5d904f694801..4142c210af59 100644 --- a/nhrpd/nhrp_multicast.c +++ b/nhrpd/nhrp_multicast.c @@ -13,7 +13,9 @@ #include #include +#ifndef GNU_LINUX #include +#endif /* !GNU_LINUX */ #include #include #include