]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Fix compilation problem when __NR_preadv2 __NR_pwritev2 are undefined
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 17 Aug 2019 16:27:22 +0000 (18:27 +0200)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Sat, 17 Aug 2019 16:27:22 +0000 (18:27 +0200)
commit4b39d3343762c53419cf16118c74e0004f900e32
treef32344d015a5a668c6dd8ca83573b163c62b1b11
parent0f7483d1d8a8ade23123b498dfbd61d1c41d9f45
Fix compilation problem when __NR_preadv2 __NR_pwritev2 are undefined

check_preadv2_pwritev2.c: In function ‘main’:
check_preadv2_pwritev2.c:12:12: error: ‘__NR_preadv2’ undeclared (first use in this function)
    syscall(__NR_preadv2, 0, NULL, 0, 0, 0);
            ^
check_preadv2_pwritev2.c:12:12: note: each undeclared identifier is reported only once for each function it appears in
check_preadv2_pwritev2.c:15:12: error: ‘__NR_pwritev2’ undeclared (first use in this function)
    syscall(__NR_pwritev2, 0, NULL, 0, 0, 0);
memcheck/tests/linux/check_preadv2_pwritev2.c