summaryrefslogtreecommitdiff
path: root/m4/fcntl_h.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/fcntl_h.m4')
-rw-r--r--m4/fcntl_h.m47
1 files changed, 5 insertions, 2 deletions
diff --git a/m4/fcntl_h.m4 b/m4/fcntl_h.m4
index 346315c..cac28ae 100644
--- a/m4/fcntl_h.m4
+++ b/m4/fcntl_h.m4
@@ -1,6 +1,6 @@
-# serial 14
+# serial 15
# Configure fcntl.h.
-dnl Copyright (C) 2006-2007, 2009-2011 Free Software Foundation, Inc.
+dnl Copyright (C) 2006-2007, 2009-2012 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -16,6 +16,9 @@ AC_DEFUN([gl_FCNTL_H],
dnl Ensure the type pid_t gets defined.
AC_REQUIRE([AC_TYPE_PID_T])
+ dnl Ensure the type mode_t gets defined.
+ AC_REQUIRE([AC_TYPE_MODE_T])
+
dnl Check for declarations of anything we want to poison if the
dnl corresponding gnulib module is not in use, if it is not common
dnl enough to be declared everywhere.