getcwd tests: Avoid compilation error on HP-UX 11.31.
authorBruno Haible <bruno@clisp.org>
Sat, 18 Jun 2011 20:22:23 +0000 (22:22 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 18 Jun 2011 20:22:23 +0000 (22:22 +0200)
* modules/getcwd-tests (Depends-on): Add pathmax.
* tests/test-getcwd.c: Include pathmax.h.

ChangeLog
modules/getcwd-tests
tests/test-getcwd.c

index 9c9da31..053383c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-06-18  Bruno Haible  <bruno@clisp.org>
 
+       getcwd tests: Avoid compilation error on HP-UX 11.31.
+       * modules/getcwd-tests (Depends-on): Add pathmax.
+       * tests/test-getcwd.c: Include pathmax.h.
+
+2011-06-18  Bruno Haible  <bruno@clisp.org>
+
        isfinite, isinf: Fix link error on AIX 6 and 7.
        * m4/isfinite.m4 (gl_ISFINITE): When determining whether libm is
        needed, also test the macro with a 'float' argument.
index 2187acc..34cc5ac 100644 (file)
@@ -5,6 +5,7 @@ Depends-on:
 errno
 fcntl-h
 getcwd-lgpl
+pathmax
 sys_stat
 
 configure.ac:
index 14a526f..3381077 100644 (file)
@@ -26,6 +26,7 @@
 #include <string.h>
 #include <sys/stat.h>
 
+#include "pathmax.h"
 #include "macros.h"
 
 #if ! HAVE_GETPAGESIZE