Merge branch 'master' of git://repo.or.cz/buildroot
[buildroot.git] / package / strace / strace-1.4.15-fix-disabled-largefile-syscalls.patch
blobbd331f98c850ad215d47ceb6d6ad3b94cb74e7a5
1 --- strace-4.5.15.orig/syscall.c 2007-01-29 17:23:38.000000000 +0100
2 +++ strace-4.5.15/syscall.c 2007-01-29 18:02:17.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"