zephyr: Fix NLR segfault in minimal build.

Requires inclusion of zephyr.h to properly detect that we're building for
Zephyr.
This commit is contained in:
Paul Sokolovsky 2017-03-30 22:17:18 +03:00
parent df48f4645d
commit 344bfbb71c

View File

@ -27,6 +27,8 @@
// Include Zephyr's autoconf.h, which should be made first by Zephyr makefiles
#include "autoconf.h"
// Included here to get basic Zephyr environment (macros, etc.)
#include <zephyr.h>
// Usually passed from Makefile
#ifndef MICROPY_HEAP_SIZE