summaryrefslogtreecommitdiff
path: root/m4/ftruncate.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/ftruncate.m4')
-rw-r--r--m4/ftruncate.m45
1 files changed, 2 insertions, 3 deletions
diff --git a/m4/ftruncate.m4 b/m4/ftruncate.m4
index d25c17ef6..c225e48a3 100644
--- a/m4/ftruncate.m4
+++ b/m4/ftruncate.m4
@@ -1,8 +1,8 @@
-#serial 7
+#serial 8
# See if we need to emulate a missing ftruncate function using fcntl or chsize.
-# Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -18,6 +18,5 @@ AC_DEFUN([gl_FUNC_FTRUNCATE],
# Prerequisites of lib/ftruncate.c.
AC_DEFUN([gl_PREREQ_FTRUNCATE],
[
- AC_CHECK_HEADERS_ONCE(unistd.h)
AC_CHECK_FUNCS(chsize)
])