summaryrefslogtreecommitdiff
path: root/m4/unistd_h.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/unistd_h.m4')
-rw-r--r--m4/unistd_h.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/m4/unistd_h.m4 b/m4/unistd_h.m4
index fb6fe077265..6483b815d60 100644
--- a/m4/unistd_h.m4
+++ b/m4/unistd_h.m4
@@ -1,4 +1,4 @@
-# unistd_h.m4 serial 56
+# unistd_h.m4 serial 57
dnl Copyright (C) 2006-2011 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -21,6 +21,9 @@ AC_DEFUN([gl_UNISTD_H],
fi
AC_SUBST([HAVE_UNISTD_H])
+ dnl Ensure the type pid_t gets defined.
+ AC_REQUIRE([AC_TYPE_PID_T])
+
dnl Check for declarations of anything we want to poison if the
dnl corresponding gnulib module is not in use.
gl_WARN_ON_USE_PREPARE([[#include <unistd.h>