From c107b53ebbc014c8b42d4046714e9849d307703f Mon Sep 17 00:00:00 2001 From: Raja R Harinath Date: Wed, 6 Jan 1999 01:45:20 +0000 Subject: Include dirent.h before checking whether `scandir' needs to be declared. * gnome-support.m4: Include dirent.h before checking whether `scandir' needs to be declared. * need-declaration.m4: Revert unlogged change. svn path=/trunk/; revision=580 --- macros/need-declaration.m4 | 3 --- 1 file changed, 3 deletions(-) (limited to 'macros/need-declaration.m4') diff --git a/macros/need-declaration.m4 b/macros/need-declaration.m4 index eea5bcd640..d5b7bc66d5 100644 --- a/macros/need-declaration.m4 +++ b/macros/need-declaration.m4 @@ -18,9 +18,6 @@ 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