summaryrefslogtreecommitdiff
path: root/test/misc/tst-syscall6.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/misc/tst-syscall6.c')
-rw-r--r--test/misc/tst-syscall6.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/misc/tst-syscall6.c b/test/misc/tst-syscall6.c
index dad67d1..fa51c27 100644
--- a/test/misc/tst-syscall6.c
+++ b/test/misc/tst-syscall6.c
@@ -9,6 +9,7 @@
int main()
{
+#if defined SYS_preadv2 && defined SYS_pwritev2
char tmp[] = "/tmp/tst-preadv2-XXXXXX";
int fd;
struct iovec iov[2];
@@ -58,4 +59,7 @@ int main()
}
return 0;
+#else
+ return 23;
+#endif
}