summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-01-02 20:47:27 +0000
committerBenjamin Peterson <benjamin@python.org>2009-01-02 20:47:27 +0000
commit796798b29c711f6bb0ac08feccf47ab7c41bd215 (patch)
tree89cf32909d40844653c327fc226eec332bdc6191 /Python/pythonrun.c
parent9ac4927125d0de98b7393afc5b13cfa4e3ce75f2 (diff)
downloadcpython-git-796798b29c711f6bb0ac08feccf47ab7c41bd215.tar.gz
fix compilation on non-Windows platforms
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 0497ae6b0f..f2cd819b1c 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -22,7 +22,9 @@
#include <signal.h>
#endif
+#ifdef MS_WINDOWS
#include "malloc.h" /* for alloca */
+#endif
#ifdef HAVE_LANGINFO_H
#include <locale.h>