From 6462909737e9f0e4fa22b17b3e986d03bd9ed175 Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Date: Wed, 6 Jan 1999 01:10:15 +0000 Subject: Fix the scandir detection svn path=/trunk/; revision=579 --- macros/need-declaration.m4 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'macros/need-declaration.m4') diff --git a/macros/need-declaration.m4 b/macros/need-declaration.m4 index d5b7bc66d5..eea5bcd640 100644 --- a/macros/need-declaration.m4 +++ b/macros/need-declaration.m4 @@ -18,6 +18,9 @@ AC_CACHE_VAL(gcc_cv_decl_needed_$1, #ifdef HAVE_UNISTD_H #include #endif +#ifdef HAVE_DIRENT_H +#include +#endif $2], [char *(*pfn) = (char *(*)) $1], eval "gcc_cv_decl_needed_$1=no", eval "gcc_cv_decl_needed_$1=yes")]) -- cgit