summaryrefslogtreecommitdiffstats
path: root/package/mdadm/mdadm-2.6.1-001.uclibc-and-ftw-fixup.patch
blob: cabf62e88bc7da4bd781df19173a294cd91a364b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -rdup mdadm-2.6.1.orig/mdadm.h mdadm-2.6.1/mdadm.h
--- mdadm-2.6.1.orig/mdadm.h	2007-02-22 04:59:28.000000000 +0100
+++ mdadm-2.6.1/mdadm.h	2007-04-16 20:53:53.000000000 +0200
@@ -382,7 +382,7 @@ struct stat64;
 #define HAVE_NFTW  we assume
 #define HAVE_FTW
 
-#ifdef UCLIBC
+#if defined __UCLIBC__ || /* older did use that? */ defined UCLIBC
 # include <features.h>
 # ifndef  __UCLIBC_HAS_FTW__
 #  undef HAVE_FTW