From c8045dc8154d528e9f6e3861814ddb194713515c Mon Sep 17 00:00:00 2001 From: Francisco Molina Date: Wed, 2 Mar 2022 08:42:34 +0100 Subject: [PATCH] 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 --- sys/include/net/gnrc/sixlowpan/frag/fb.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/include/net/gnrc/sixlowpan/frag/fb.h b/sys/include/net/gnrc/sixlowpan/frag/fb.h index 07f15a2072..f716d77020 100644 --- a/sys/include/net/gnrc/sixlowpan/frag/fb.h +++ b/sys/include/net/gnrc/sixlowpan/frag/fb.h @@ -28,7 +28,9 @@ #ifdef MODULE_GNRC_SIXLOWPAN_FRAG_HINT #include "net/gnrc/sixlowpan/frag/hint.h" #endif /* MODULE_GNRC_SIXLOWPAN_FRAG_HINT */ +#if IS_USED(MODULE_GNRC_SIXLOWPAN_FRAG_SFR) #include "net/gnrc/sixlowpan/frag/sfr_types.h" +#endif #ifdef __cplusplus extern "C" {