From eca26c91cd94a718813a7d90fd90df163dda0039 Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Thu, 21 Mar 2019 21:39:15 +0100 Subject: [PATCH] pkg/nimble: fix include guards in nimble_riot.c --- pkg/nimble/contrib/nimble_riot.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/nimble/contrib/nimble_riot.c b/pkg/nimble/contrib/nimble_riot.c index 20fe26c752d3..97a22d00c6d2 100644 --- a/pkg/nimble/contrib/nimble_riot.c +++ b/pkg/nimble/contrib/nimble_riot.c @@ -25,8 +25,12 @@ #include "host/ble_hs.h" #include "host/util/util.h" +#ifdef MODULE_NIMBLE_SVC_GAP #include "services/gap/ble_svc_gap.h" +#endif +#ifdef MODULE_NIMBLE_SVC_GATT #include "services/gatt/ble_svc_gatt.h" +#endif #ifdef MODULE_NIMBLE_CONTROLLER #ifdef CPU_FAM_NRF52