summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-02-06 13:06:29 +0000
committerJim Meyering <jim@meyering.net>2003-02-06 13:06:29 +0000
commit784604222e671bf5fcc4e2a2b6745d1f4b93a944 (patch)
tree4e1873e3ae76cf62ddfa10941cd36290c4e6b8c0 /m4
parent524ed3ce4499bab2ee37db0e0f23b2df90c4e707 (diff)
downloadcoreutils-784604222e671bf5fcc4e2a2b6745d1f4b93a944.tar.xz
Include <unistd.h>. On some systems,
it is required for the definition of _SC_PAGESIZE.
Diffstat (limited to 'm4')
-rw-r--r--m4/c-stack.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/c-stack.m4 b/m4/c-stack.m4
index 01c9a884c..a58cde009 100644
--- a/m4/c-stack.m4
+++ b/m4/c-stack.m4
@@ -1,6 +1,6 @@
# Check prerequisites for compiling lib/c-stack.c.
-# Copyright (C) 2002 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -27,6 +27,7 @@ AC_DEFUN([AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC],
ac_cv_sys_xsi_stack_overflow_heuristic,
[AC_TRY_RUN(
[
+ #include <unistd.h>
#include <signal.h>
#include <ucontext.h>