Эх сурвалжийг харах

Unlike glibc, uClibc doesn't always support the d_type field of
struct dirent. So, disable the d_type support macros when d_type
isn't available. This fixes a build problem file fileutils-4.1.

Manuel Novoa III 23 жил өмнө
parent
commit
9f6c1eba63

+ 1 - 1
include/dirent.h

@@ -93,7 +93,7 @@ typedef __ino64_t ino64_t;
 #endif
 #endif
 
 
 
 
-#ifdef __USE_BSD
+#if defined __USE_BSD && defined _DIRENT_HAVE_D_TYPE
 /* File types for `d_type'.  */
 /* File types for `d_type'.  */
 enum
 enum
   {
   {