aboutsummaryrefslogtreecommitdiff
path: root/stmhal
diff options
context:
space:
mode:
authorDamien George2014-06-08 13:25:33 +0100
committerDamien George2014-06-08 13:25:33 +0100
commit4480cb37118b662cf301953595b37704dc197d40 (patch)
tree856afe4dbfbeea23134dd40275cbd1aa96a1d0ed /stmhal
parentdf896eceef27bc9a159bd62cdd78c66a56462544 (diff)
Provide definition of alloca() in mpconfigport.h.
Diffstat (limited to 'stmhal')
-rw-r--r--stmhal/mpconfigport.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h
index 36a60dfa7..5b99ffca5 100644
--- a/stmhal/mpconfigport.h
+++ b/stmhal/mpconfigport.h
@@ -99,3 +99,6 @@ typedef const void *machine_const_ptr_t; // must be of pointer size
// board specific definitions
#include "mpconfigboard.h"
+
+// We need to provide a declaration/definition of alloca()
+#include <alloca.h>