From 9f6c1eba63cd333da91be7899c86ef525cb18706 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Tue, 20 Aug 2002 22:41:58 +0000 Subject: 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. --- include/dirent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/dirent.h') 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 { -- cgit v1.2.3