aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-support.m4
diff options
context:
space:
mode:
Diffstat (limited to 'macros/gnome-support.m4')
-rw-r--r--macros/gnome-support.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/macros/gnome-support.m4 b/macros/gnome-support.m4
index c4b88b4ddb..afead5f833 100644
--- a/macros/gnome-support.m4
+++ b/macros/gnome-support.m4
@@ -35,6 +35,8 @@ AC_DEFUN([GNOME_SUPPORT_CHECKS],[
# This header enables some optimizations inside argp.
AC_CHECK_HEADERS(linewrap.h)
+ # for `scandir'
+ AC_HEADER_DIRENT
AC_CACHE_CHECK([for program_invocation_short_name], gnome_cv_short_name, [
AC_TRY_LINK([#include <errno.h>],[