You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2019/03/01 11:10:53 UTC

[mynewt-nimble] 01/02: porting: Add missing include

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

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

commit 3ac89668f872957da5124799e6e22eec53a6087d
Author: Andrzej Kaczmarek <an...@codecoup.pl>
AuthorDate: Thu Feb 28 15:22:59 2019 +0100

    porting: Add missing include
    
    We use assert in macro so good to have prototype included.
---
 porting/nimble/include/os/os.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/porting/nimble/include/os/os.h b/porting/nimble/include/os/os.h
index 6dc304b..40fc267 100644
--- a/porting/nimble/include/os/os.h
+++ b/porting/nimble/include/os/os.h
@@ -20,6 +20,8 @@
 #ifndef _OS_H
 #define _OS_H
 
+#include <assert.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif