]> granicus.if.org Git - strace/blobdiff - tests/fstat64.c
tests: extend TEST_NETLINK_OBJECT macro
[strace] / tests / fstat64.c
index 59c94a2c886fc876ab80190370a2cc8a1eac5fc3..c63be60fa4eeab1c4b0299691c9c9cf991a4d237 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * 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
@@ -26,7 +27,7 @@
  */
 
 #include "tests.h"
-#include <sys/syscall.h>
+#include <asm/unistd.h>
 
 #ifdef __NR_fstat64
 
@@ -34,7 +35,7 @@
 # define TEST_SYSCALL_STR "fstat64"
 # define STRUCT_STAT struct stat64
 # define STRUCT_STAT_STR "struct stat64"
-# define SAMPLE_SIZE ((libc_off_t) 43147718418)
+# define STRUCT_STAT_IS_STAT64 1
 # include "fstatx.c"
 
 #else