From a1e6c6723c9839e8d370bf8e4f11f55c53f90b43 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Tue, 27 Mar 2012 09:39:22 +0000 Subject: [PATCH] Make this compile on Darwin. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12464 --- memcheck/tests/test-plo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/memcheck/tests/test-plo.c b/memcheck/tests/test-plo.c index 9ce667a2e3..5d4da6b9f3 100644 --- a/memcheck/tests/test-plo.c +++ b/memcheck/tests/test-plo.c @@ -1,4 +1,4 @@ -#include +#include "tests/malloc.h" #include #include @@ -46,7 +46,7 @@ __attribute__((noinline)) void foo ( int x ) int main(int argc, char *argv[]) { - char *buf = memalign(8, 5); + char *buf = memalign16(5); buf[0] = 'a'; buf[1] = 'b'; buf[2] = 'c'; -- 2.47.2