summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
authorMarcus von Appen <marcus@sysfault.org>2014-06-07 09:36:04 +0200
committerMarcus von Appen <marcus@sysfault.org>2014-06-07 09:36:04 +0200
commit0c90eb16586d6c15d619666687449b3351e536fc (patch)
tree90e87eaf27647ebe3d3996d6273672b271d47338 /py
parentc61be8e1e10a8c7bac3161cae531d26a9d754825 (diff)
downloadmicropython-0c90eb16586d6c15d619666687449b3351e536fc.tar.gz
micropython-0c90eb16586d6c15d619666687449b3351e536fc.zip
- FreeBSD provides alloca() via stdlib.h, in contrast to Linux and Windows
- Move the includes for alloca() intp mpconfigport.h
Diffstat (limited to 'py')
-rw-r--r--py/builtinimport.c1
-rw-r--r--py/objfun.c1
-rw-r--r--py/runtime.c1
-rw-r--r--py/vm.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/py/builtinimport.c b/py/builtinimport.c
index 795d9fd5e1..44ba4d5541 100644
--- a/py/builtinimport.c
+++ b/py/builtinimport.c
@@ -29,7 +29,6 @@
#include <stdio.h>
#include <string.h>
#include <assert.h>
-#include <alloca.h>
#include "mpconfig.h"
#include "nlr.h"
diff --git a/py/objfun.c b/py/objfun.c
index 77d57821b9..5c085f883c 100644
--- a/py/objfun.c
+++ b/py/objfun.c
@@ -28,7 +28,6 @@
#include <stdbool.h>
#include <string.h>
#include <assert.h>
-#include <alloca.h>
#include "mpconfig.h"
#include "nlr.h"
diff --git a/py/runtime.c b/py/runtime.c
index cdbf99d4a5..b1fd19499c 100644
--- a/py/runtime.c
+++ b/py/runtime.c
@@ -27,7 +27,6 @@
#include <stdio.h>
#include <string.h>
#include <assert.h>
-#include <alloca.h>
#include "mpconfig.h"
#include "nlr.h"
diff --git a/py/vm.c b/py/vm.c
index d57fbf17e3..b24c85a491 100644
--- a/py/vm.c
+++ b/py/vm.c
@@ -28,7 +28,6 @@
#include <stdio.h>
#include <string.h>
#include <assert.h>
-#include <alloca.h>
#include "mpconfig.h"
#include "nlr.h"