This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new 63429b206 nimble/host: Add missing os/util.h include in ble_gatts.c
63429b206 is described below

commit 63429b20629f735fed83686035c2599b8b32f71f
Author: Deomid rojer Ryabkov <[email protected]>
AuthorDate: Tue Mar 31 23:25:31 2026 +0300

    nimble/host: Add missing os/util.h include in ble_gatts.c
    
    ble_gatts.c uses POINTER_TO_UINT which is defined in os/util.h.
    On Mynewt this is pulled in transitively, but not on other platforms.
---
 nimble/host/src/ble_gatts.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nimble/host/src/ble_gatts.c b/nimble/host/src/ble_gatts.c
index 5d522aed7..8d7897bec 100644
--- a/nimble/host/src/ble_gatts.c
+++ b/nimble/host/src/ble_gatts.c
@@ -20,6 +20,7 @@
 #include <stddef.h>
 #include <stdlib.h>
 #include <string.h>
+#include "os/util.h"
 #include "nimble/ble.h"
 #include "host/ble_gatt.h"
 #include "host/ble_uuid.h"

Reply via email to