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

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

commit 7331f719d617e21fb0589f8e3d820e31cfc9bc5b
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Wed May 31 23:05:50 2023 +0200

    sys/console: Add correct header for va_list
    
    va_list should be defined by stdarg.h
    For baselibc va_list is defined even though stdarg.h is not
    explicitly included (by os/mynewt.h probably)
    
    If baselibc is not used va_list is undefined so correct header
    includsion is added to console.h
---
 sys/console/full/include/console/console.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/console/full/include/console/console.h 
b/sys/console/full/include/console/console.h
index b4ff296c9..aa2f53eff 100644
--- a/sys/console/full/include/console/console.h
+++ b/sys/console/full/include/console/console.h
@@ -20,6 +20,7 @@
 #ifndef __CONSOLE_H__
 #define __CONSOLE_H__
 
+#include <stdarg.h>
 #include <inttypes.h>
 #include "os/mynewt.h"
 

Reply via email to