(major_t, minor_t): Define to unsigned int if undefined.
authorJim Meyering <jim@meyering.net>
Sun, 13 May 2001 18:24:44 +0000 (18:24 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 13 May 2001 18:24:44 +0000 (18:24 +0000)
m4/jm-macros.m4

index 680ab14c9167bb455b1b027f3c017064d4bd8ece..6960729530bf2e78a9c17764167104575f0e02fc 100644 (file)
@@ -1,4 +1,4 @@
-#serial 36   -*- autoconf -*-
+#serial 37   -*- autoconf -*-
 
 dnl Misc type-related macros for fileutils, sh-utils, textutils.
 
@@ -293,6 +293,8 @@ AC_DEFUN(jm_CHECK_ALL_TYPES,
   dnl This relies on the fact that autoconf 2.14a's implementation of
   dnl AC_CHECK_TYPE checks includes unistd.h.
   AC_CHECK_TYPE(ssize_t, int)
+  AC_CHECK_TYPE(major_t, unsigned int)
+  AC_CHECK_TYPE(minor_t, unsigned int)
 
   AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])
   AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG])