Add and change modules to make it easier for coreutils to use
[gnulib.git] / m4 / filemode.m4
index 2b9334f..fa571b3 100644 (file)
@@ -6,6 +6,7 @@ dnl with or without modifications, as long as this notice is preserved.
 
 AC_DEFUN([gl_FILEMODE],
 [
+  AC_REQUIRE([AC_STRUCT_ST_DM_MODE])
   AC_LIBSOURCES([filemode.c, filemode.h])
   AC_LIBOBJ([filemode])
   AC_CHECK_DECLS_ONCE([strmode])