mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-17 10:33:49 +01:00
sys/gnrc/sixlowpan/frag/fb: guard sfr_types.h header include
The included header references evtimer which is not a direct dependency for gnrc_sixlowpan_frag, but only for gnr_sixlowpan_frag_sfr
This commit is contained in:
parent
fcc962e047
commit
c8045dc815
@ -28,7 +28,9 @@
|
|||||||
#ifdef MODULE_GNRC_SIXLOWPAN_FRAG_HINT
|
#ifdef MODULE_GNRC_SIXLOWPAN_FRAG_HINT
|
||||||
#include "net/gnrc/sixlowpan/frag/hint.h"
|
#include "net/gnrc/sixlowpan/frag/hint.h"
|
||||||
#endif /* MODULE_GNRC_SIXLOWPAN_FRAG_HINT */
|
#endif /* MODULE_GNRC_SIXLOWPAN_FRAG_HINT */
|
||||||
|
#if IS_USED(MODULE_GNRC_SIXLOWPAN_FRAG_SFR)
|
||||||
#include "net/gnrc/sixlowpan/frag/sfr_types.h"
|
#include "net/gnrc/sixlowpan/frag/sfr_types.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user