]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
musl: another fix for building testcases
authorPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 9 May 2023 20:13:28 +0000 (22:13 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 9 May 2023 20:13:28 +0000 (22:13 +0200)
none/tests/x86-linux/seg_override.c

index ca8fbfe2b2610dfa79a8307883fbdb9cd7f1a022..4ef4394bcc6486814dae6fa946cf00e88ff48de6 100644 (file)
@@ -3,6 +3,10 @@
 #include <errno.h>
 #include <string.h>
 #include "../../../config.h"
+#if defined(MUSL_LIBC)
+#include <syscall.h>
+#include <unistd.h>
+#endif
 
 
 /* Stuff from Wine. */