From: Bart Van Assche Date: Sun, 28 Sep 2008 12:31:45 +0000 (+0000) Subject: Increased source code portability. X-Git-Tag: svn/VALGRIND_3_4_0~240 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37b50607db156c3296c1e97f3432b944e1cfacb4;p=thirdparty%2Fvalgrind.git Increased source code portability. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8645 --- 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) {