Automatically edit tests/*.c files using the following perl one-liner: perl -0777 -pi -e \ 's/#ifdef HAVE_CONFIG_H\n# include "config\.h"\n#endif\n*/#include "tests.h"\n/' \ tests/*.c
12 lines
236 B
C
12 lines
236 B
C
#include "tests.h"
|
|
#include <sys/syscall.h>
|
|
|
|
#undef TEST_SYSCALL_NAME
|
|
#ifdef __NR_fstat64
|
|
# define TEST_SYSCALL_NAME fstat64
|
|
# define STRUCT_STAT struct stat64
|
|
# define SAMPLE_SIZE ((libc_off_t) 43147718418)
|
|
#endif
|
|
|
|
#include "fstatx.c"
|