(gl_GETADDRINFO): Look for getservbyname in these
[gnulib.git] / m4 / ftruncate.m4
index b2ce6dd..c225e48 100644 (file)
@@ -1,7 +1,12 @@
-#serial 6
+#serial 8
 
 # See if we need to emulate a missing ftruncate function using fcntl or chsize.
 
+# 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.
+
 AC_DEFUN([gl_FUNC_FTRUNCATE],
 [
   AC_REPLACE_FUNCS(ftruncate)
@@ -13,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)
 ])