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 9c9da31257232bc127bc98b95990c97a7fe87233..053383c2b92dbfebeae440172dcfe953c158e7b6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
index 2187acc75f9b21f75bb130b28d627b5d6c5aa0f5..34cc5acf6a9b49a6436015ef353dfef6ba78171f 100644 (file)
@@ -5,6 +5,7 @@ Depends-on:
 errno
 fcntl-h
 getcwd-lgpl
+pathmax
 sys_stat
 
 configure.ac:
index 14a526f65e7aa3ade68155cc5420b4dc0e149b7d..33810775dd7af9455ad5d138df3649794ae273db 100644 (file)
@@ -26,6 +26,7 @@
 #include <string.h>
 #include <sys/stat.h>
 
+#include "pathmax.h"
 #include "macros.h"
 
 #if ! HAVE_GETPAGESIZE