[pypy-svn] r64018 - pypy/branch/cbuild-llvm/pypy/rpython/tool

getxsick at codespeak.net getxsick at codespeak.net
Mon Apr 13 06:04:30 CEST 2009


Author: getxsick
Date: Mon Apr 13 06:04:29 2009
New Revision: 64018

Modified:
   pypy/branch/cbuild-llvm/pypy/rpython/tool/rfficache.py
Log:
added stdio.h header to get compatibility with g++

Modified: pypy/branch/cbuild-llvm/pypy/rpython/tool/rfficache.py
==============================================================================
--- pypy/branch/cbuild-llvm/pypy/rpython/tool/rfficache.py	(original)
+++ pypy/branch/cbuild-llvm/pypy/rpython/tool/rfficache.py	Mon Apr 13 06:04:29 2009
@@ -13,7 +13,7 @@
 from pypy.tool.gcc_cache import build_executable_cache
 
 def ask_gcc(question, add_source=""):
-    includes = ['stdlib.h', 'sys/types.h']
+    includes = ['stdlib.h', 'stdio.h', 'sys/types.h']
     include_string = "\n".join(["#include <%s>" % i for i in includes])
     c_source = py.code.Source('''
     // includes



More information about the Pypy-commit mailing list