diff options
| author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-05-03 14:39:47 +0300 |
|---|---|---|
| committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-05-03 14:39:47 +0300 |
| commit | 7a1402260415ab064a1c0ee7bc9b666832c244b2 (patch) | |
| tree | 2039176e5c3bed83406d74140d15f32d3b37bbe3 /py/builtinimport.c | |
| parent | d51dbeb19090cd69a93295f69205295887e3d856 (diff) | |
| parent | 98e2ee0ec184c4c41cd0b6a633fe75a1fe40f8d3 (diff) | |
Merge pull request #552 from stinos/mingw-alloca
py: Use <alloca.h> for alloca()
Diffstat (limited to 'py/builtinimport.c')
| -rw-r--r-- | py/builtinimport.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/py/builtinimport.c b/py/builtinimport.c index 323b63ef6..f4e089b5d 100644 --- a/py/builtinimport.c +++ b/py/builtinimport.c @@ -1,12 +1,8 @@ #include <stdint.h> -#include <stdlib.h> #include <stdio.h> #include <string.h> #include <assert.h> -#ifdef __MINGW32__ -// For alloca() -#include <malloc.h> -#endif +#include <alloca.h> #include "mpconfig.h" #include "nlr.h" |
