mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
sys/net/gnrc: Fix include of xtimer.h
Make sure xtimer.h is only included if the xtimer module is actually used, as otherwise compilation for the waspmote-pro fails.
This commit is contained in:
parent
2690b272d9
commit
0cb274c1eb
@ -34,7 +34,9 @@
|
||||
#include "fmt.h"
|
||||
#include "log.h"
|
||||
#include "sched.h"
|
||||
#if (CONFIG_GNRC_NETIF_MIN_WAIT_AFTER_SEND_US > 0U)
|
||||
#include "xtimer.h"
|
||||
#endif
|
||||
|
||||
#include "net/gnrc/netif.h"
|
||||
#include "net/gnrc/netif/internal.h"
|
||||
|
@ -24,7 +24,9 @@
|
||||
#include "net/gnrc/icmpv6.h"
|
||||
#include "net/gnrc/ipv6.h"
|
||||
#include "net/gnrc/udp.h"
|
||||
#ifdef MODULE_GNRC_TCP
|
||||
#include "net/gnrc/tcp.h"
|
||||
#endif
|
||||
|
||||
#define _INVALID_TYPE(type) (((type) < GNRC_NETTYPE_UNDEF) || ((type) >= GNRC_NETTYPE_NUMOF))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user