Skip to content

Commit

Permalink
sys/net/gnrc/netif: use IS_USED macro
Browse files Browse the repository at this point in the history
  • Loading branch information
maribu committed Sep 22, 2020
1 parent acf14f8 commit 4257e8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sys/net/gnrc/netif/gnrc_netif.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
#include "net/ethernet.h"
#include "net/ipv6.h"
#include "net/gnrc.h"
#ifdef MODULE_GNRC_IPV6_NIB
#if IS_USED(MODULE_GNRC_IPV6_NIB)
#include "net/gnrc/ipv6/nib.h"
#include "net/gnrc/ipv6.h"
#endif /* MODULE_GNRC_IPV6_NIB */
#endif /* IS_USED(MODULE_GNRC_IPV6_NIB) */
#include "net/gnrc/netif/pktq.h"
#ifdef MODULE_NETSTATS
#ifdef IS_USED(MODULE_NETSTATS)
#include "net/netstats.h"
#endif
#endif /* IS_USED(MODULE_NETSTATS) */
#include "fmt.h"
#include "log.h"
#include "sched.h"
Expand Down

0 comments on commit 4257e8e

Please sign in to comment.