diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1999-01-06 09:10:15 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1999-01-06 09:10:15 +0800 |
commit | 6462909737e9f0e4fa22b17b3e986d03bd9ed175 (patch) | |
tree | bbceb7335de04f202e88608b03d24abaf0400b75 /macros/need-declaration.m4 | |
parent | 2bb0bf664b61639067d90ae5b4516473e2c743f7 (diff) | |
download | gsoc2013-evolution-6462909737e9f0e4fa22b17b3e986d03bd9ed175.tar gsoc2013-evolution-6462909737e9f0e4fa22b17b3e986d03bd9ed175.tar.gz gsoc2013-evolution-6462909737e9f0e4fa22b17b3e986d03bd9ed175.tar.bz2 gsoc2013-evolution-6462909737e9f0e4fa22b17b3e986d03bd9ed175.tar.lz gsoc2013-evolution-6462909737e9f0e4fa22b17b3e986d03bd9ed175.tar.xz gsoc2013-evolution-6462909737e9f0e4fa22b17b3e986d03bd9ed175.tar.zst gsoc2013-evolution-6462909737e9f0e4fa22b17b3e986d03bd9ed175.zip |
Fix the scandir detection
svn path=/trunk/; revision=579
Diffstat (limited to 'macros/need-declaration.m4')
-rw-r--r-- | macros/need-declaration.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
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 <unistd.h> #endif +#ifdef HAVE_DIRENT_H +#include <dirent.h> +#endif $2], [char *(*pfn) = (char *(*)) $1], eval "gcc_cv_decl_needed_$1=no", eval "gcc_cv_decl_needed_$1=yes")]) |