also install required files for HAVE_INCLUDES
[buildroot.git] / package / strace / strace-4.5.18-disabled-largefile-syscalls.patch
blob5a863bab2da76fc6380b1dc9ff912924dc32ec16
1 --- strace-4.5.18/syscall.c 2008-08-25 05:16:26.000000000 +0200
2 +++ strace-4.5.18.new/syscall.c 2008-10-28 14:36:08.000000000 +0100
3 @@ -125,6 +125,18 @@
4 #define TP TRACE_PROCESS
5 #define TS TRACE_SIGNAL
7 +#ifndef HAVE_STATFS64
8 +/*
9 + * Ugly hacks for systems that do not have LFS
10 + */
12 +#define sys_truncate64 sys_truncate
13 +#define sys_ftruncate64 sys_ftruncate
14 +#define sys_getdents64 sys_getdents
15 +#define sys_statfs64 sys_statfs
16 +#define sys_fstatfs64 sys_fstatfs
17 +#endif
19 static const struct sysent sysent0[] = {
20 #include "syscallent.h"