aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rpm/rpm-uclibc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/rpm/rpm-uclibc.patch')
-rw-r--r--testing/rpm/rpm-uclibc.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/rpm/rpm-uclibc.patch b/testing/rpm/rpm-uclibc.patch
index 03cfbacf19..12636f0fc9 100644
--- a/testing/rpm/rpm-uclibc.patch
+++ b/testing/rpm/rpm-uclibc.patch
@@ -22,7 +22,7 @@ diff -rupN a/misc/fts.c b/misc/fts.c
-#include <string.h>
-#include <errno.h>
-#include "misc/fts.h"
-+#ifndef __GLIBC__
++#if !defined(__GLIBC__) || defined(__UCLIBC__)
+# define _STAT_VER 0
+# define __fxstat64(_stat_ver, _fd, _sbp) fstat64((_fd), (_sbp))
+#endif