mjson icon indicating copy to clipboard operation
mjson copied to clipboard

Header include missing for alloca

Open dok-net opened this issue 2 years ago • 1 comments

The error occurs when including mjson in an application for a target other than Arduino, in this case, Zephyr embedded OS.

dok-net avatar Jun 21 '23 18:06 dok-net

I am working on a nRF52 and also have issues with a missing alloca.h. However, I cannot just include <alloca.h> since it's not present in my environment. In my case I need a SDK provided implementation. Would it make sense to add a check in your changes for the environment and conditionnaly include it?

KamiNeko avatar Jul 19 '23 06:07 KamiNeko