From: Paul Floyd Date: Tue, 2 Mar 2021 16:41:47 +0000 (+0100) Subject: Fix compilation on OS X X-Git-Tag: VALGRIND_3_17_0~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fd6de1cfe5ba81307f54f441969995325eb7173;p=thirdparty%2Fvalgrind.git Fix compilation on OS X --- diff --git a/drd/tests/swapcontext.c b/drd/tests/swapcontext.c index cfe0577a3d..cf600d4933 100644 --- a/drd/tests/swapcontext.c +++ b/drd/tests/swapcontext.c @@ -1,6 +1,7 @@ /* See also https://bugs.kde.org/show_bug.cgi?id=432381. */ #define _GNU_SOURCE +#define _XOPEN_SOURCE #include #include