]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix compilation on OS X
authorPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 2 Mar 2021 16:41:47 +0000 (17:41 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 2 Mar 2021 16:41:47 +0000 (17:41 +0100)
drd/tests/swapcontext.c

index cfe0577a3d1dbe6d68989544265bb65c6791b0c7..cf600d4933f26fd398291e88e3da1af62b04cc3e 100644 (file)
@@ -1,6 +1,7 @@
 /* See also https://bugs.kde.org/show_bug.cgi?id=432381. */
 
 #define _GNU_SOURCE
+#define _XOPEN_SOURCE
 
 #include <assert.h>
 #include <limits.h>