[pypy-svn] pypy default: Add another include for memcpy() here.

arigo commits-noreply at bitbucket.org
Mon Feb 7 18:14:28 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r41678:b0e07371559d
Date: 2011-02-07 18:02 +0100
http://bitbucket.org/pypy/pypy/changeset/b0e07371559d/

Log:	Add another include for memcpy() here.

diff --git a/pypy/translator/c/src/obmalloc.c b/pypy/translator/c/src/obmalloc.c
--- a/pypy/translator/c/src/obmalloc.c
+++ b/pypy/translator/c/src/obmalloc.c
@@ -1,6 +1,8 @@
 
 #ifdef WITH_PYMALLOC
 
+#include <string.h>
+
 /* An object allocator for Python.
 
    Here is an introduction to the layers of the Python memory architecture,


More information about the Pypy-commit mailing list