From 7dd7a7ee96ea0d299e73ed8918bb02057b85c75a Mon Sep 17 00:00:00 2001 From: Christian Baars Date: Mon, 4 Sep 2023 11:10:55 +0200 Subject: [PATCH] fix compilation because of unknown MYNEWT_VAL MYNEWT_VAL is unknown in the scope of this file in some build environments --- nimble/host/services/gap/include/services/gap/ble_svc_gap.h | 1 + 1 file changed, 1 insertion(+) diff --git a/nimble/host/services/gap/include/services/gap/ble_svc_gap.h b/nimble/host/services/gap/include/services/gap/ble_svc_gap.h index a1f84f1d6..f748d6494 100644 --- a/nimble/host/services/gap/include/services/gap/ble_svc_gap.h +++ b/nimble/host/services/gap/include/services/gap/ble_svc_gap.h @@ -20,6 +20,7 @@ #ifndef H_BLE_SVC_GAP_ #define H_BLE_SVC_GAP_ +#include "syscfg/syscfg.h" #include #if MYNEWT_VAL(ENC_ADV_DATA) #include "host/ble_ead.h"