summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-08-20 22:41:58 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-08-20 22:41:58 +0000
commit9f6c1eba63cd333da91be7899c86ef525cb18706 (patch)
tree10dacfaa825fa5b58a529717e88f5a6ef8985927
parent0255e1ad13be4a1dde1ce403a73fe4029a33476a (diff)
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.
-rw-r--r--include/dirent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dirent.h b/include/dirent.h
index 8079d7097..b3fbf2de2 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -93,7 +93,7 @@ typedef __ino64_t ino64_t;
#endif
-#ifdef __USE_BSD
+#if defined __USE_BSD && defined _DIRENT_HAVE_D_TYPE
/* File types for `d_type'. */
enum
{