summaryrefslogtreecommitdiffstats
path: root/package/rpm/rpm-uclibc-ifdefs.patch
blob: 11cf2cd8955e22f05b5fb8c844d536603e1512bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -ur rpm-4.4.9_vanilla/rpmio/fts.c rpm-4.4.9_uclibc-ifdefs/rpmio/fts.c
--- rpm-4.4.9_vanilla/rpmio/fts.c	2007-01-21 15:18:00.000000000 +0000
+++ rpm-4.4.9_uclibc-ifdefs/rpmio/fts.c	2008-03-22 13:26:40.000000000 +0000
@@ -45,6 +47,9 @@
 #include <string.h>
 #include <unistd.h>
 #else
+#if defined(__UCLIBC__)
+#   define __fxstat64(_stat_ver, _fd, _sbp)	fstat((_fd), (_sbp))
+#endif
 #if defined(hpux) || defined(__hpux)
 # define        _INCLUDE_POSIX_SOURCE
 #   define __errno_location() 	(&errno)