/*
* Copyright (c) 2015-2016 Dmitry V. Levin <ldv@altlinux.org>
+ * Copyright (c) 2015-2017 The strace developers.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*/
#include "tests.h"
-#include <sys/syscall.h>
+#include <asm/unistd.h>
#ifdef __NR_stat
-# define TEST_SYSCALL_NAME stat
-# define SAMPLE_SIZE ((kernel_ulong_t) 43147718418)
+# define TEST_SYSCALL_NR __NR_stat
+# define TEST_SYSCALL_STR "stat"
+# define SAMPLE_SIZE ((libc_off_t) (kernel_ulong_t) 43147718418ULL)
# include "lstatx.c"
#else