1 [PATCH] rpm: fix build on uClibc with !LFS
3 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
6 1 file changed, 4 insertions(+)
8 Index: rpm-5.2.0/rpmio/fts.c
9 ===================================================================
10 --- rpm-5.2.0.orig/rpmio/fts.c
11 +++ rpm-5.2.0/rpmio/fts.c
12 @@ -47,6 +47,10 @@ static char sccsid[] = "@(#)fts.c 8.6 (B
14 #if defined(__UCLIBC__)
15 # define __fxstat64(_stat_ver, _fd, _sbp) fstat((_fd), (_sbp))
16 +# include <features.h>
17 +# ifndef __UCLIBC_HAS_LFS__
21 #if defined(hpux) || defined(__hpux)
22 # define _INCLUDE_POSIX_SOURCE