From 1e33f8d86f27c094d33b8ebce43ad1a1e558327d Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 18 Jun 2011 22:22:23 +0200 Subject: [PATCH] getcwd tests: Avoid compilation error on HP-UX 11.31. * modules/getcwd-tests (Depends-on): Add pathmax. * tests/test-getcwd.c: Include pathmax.h. --- ChangeLog | 6 ++++++ modules/getcwd-tests | 1 + tests/test-getcwd.c | 1 + 3 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9c9da3125..053383c2b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-06-18 Bruno Haible + 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 + 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. diff --git a/modules/getcwd-tests b/modules/getcwd-tests index 2187acc75..34cc5acf6 100644 --- a/modules/getcwd-tests +++ b/modules/getcwd-tests @@ -5,6 +5,7 @@ Depends-on: errno fcntl-h getcwd-lgpl +pathmax sys_stat configure.ac: diff --git a/tests/test-getcwd.c b/tests/test-getcwd.c index 14a526f65..33810775d 100644 --- a/tests/test-getcwd.c +++ b/tests/test-getcwd.c @@ -26,6 +26,7 @@ #include #include +#include "pathmax.h" #include "macros.h" #if ! HAVE_GETPAGESIZE -- 2.11.0