Guard against vsnprintf implementations that mishandle a size=0 argument.
[gnulib.git] / m4 / pathmax.m4
index 9790e13..64bf26f 100644 (file)
@@ -1,5 +1,5 @@
-# pathmax.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# pathmax.m4 serial 6
+dnl Copyright (C) 2002, 2003, 2005, 2006 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.
@@ -7,5 +7,5 @@ dnl with or without modifications, as long as this notice is preserved.
 AC_DEFUN([gl_PATHMAX],
 [
   dnl Prerequisites of lib/pathmax.h.
-  AC_CHECK_HEADERS_ONCE(sys/param.h unistd.h)
+  AC_CHECK_HEADERS_ONCE(sys/param.h)
 ])