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
10 lines
160 B
C
10 lines
160 B
C
#include "tests.h"
|
|
#include <sys/syscall.h>
|
|
|
|
#undef TEST_SYSCALL_NAME
|
|
#ifdef __NR__newselect
|
|
# define TEST_SYSCALL_NAME _newselect
|
|
#endif
|
|
|
|
#include "xselect.c"
|