Author: Laurence Tratt <[email protected]>
Branch: 
Changeset: r91292:42c6ee223963
Date: 2017-05-14 19:25 +0800
http://bitbucket.org/pypy/pypy/changeset/42c6ee223963/

Log:    string.h needs to be included for strlen to be found.

diff --git a/rpython/rlib/rvmprof/src/shared/machine.c 
b/rpython/rlib/rvmprof/src/shared/machine.c
--- a/rpython/rlib/rvmprof/src/shared/machine.c
+++ b/rpython/rlib/rvmprof/src/shared/machine.c
@@ -4,6 +4,7 @@
 #include <stdio.h>
 
 #ifdef VMPROF_UNIX
+#include <string.h>
 #include <unistd.h>
 #include <fcntl.h>
 #endif
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to