]> granicus.if.org Git - python/commitdiff
fix compilation on non-Windows platforms
authorBenjamin Peterson <benjamin@python.org>
Fri, 2 Jan 2009 20:47:27 +0000 (20:47 +0000)
committerBenjamin Peterson <benjamin@python.org>
Fri, 2 Jan 2009 20:47:27 +0000 (20:47 +0000)
Python/pythonrun.c

index 0497ae6b0f14d1c385bf3c1b085d5179a7e62429..f2cd819b1c4d2de1e5300c88f43930ef48789b5d 100644 (file)
@@ -22,7 +22,9 @@
 #include <signal.h>
 #endif
 
+#ifdef MS_WINDOWS
 #include "malloc.h" /* for alloca */
+#endif
 
 #ifdef HAVE_LANGINFO_H
 #include <locale.h>