From 37b50607db156c3296c1e97f3432b944e1cfacb4 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 28 Sep 2008 12:31:45 +0000 Subject: [PATCH] Increased source code portability. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8645 --- exp-ptrcheck/tests/ccc.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/exp-ptrcheck/tests/ccc.cpp b/exp-ptrcheck/tests/ccc.cpp index e14f95690c..03c9a00736 100644 --- a/exp-ptrcheck/tests/ccc.cpp +++ b/exp-ptrcheck/tests/ccc.cpp @@ -1,6 +1,11 @@ +#define _XOPEN_SOURCE 600 // to enable posix_memalign() + + #include #include #include // for memalign() + + static __attribute__((noinline)) void bar ( int ); /* fwds */ int main(void) { -- 2.47.2