From: Bruno Haible Date: Sat, 18 Jun 2011 20:22:23 +0000 (+0200) Subject: getcwd tests: Avoid compilation error on HP-UX 11.31. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e33f8d86f27c094d33b8ebce43ad1a1e558327d;p=pspp getcwd tests: Avoid compilation error on HP-UX 11.31. * modules/getcwd-tests (Depends-on): Add pathmax. * tests/test-getcwd.c: Include pathmax.h. --- diff --git a/ChangeLog b/ChangeLog index 9c9da31257..053383c2b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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. diff --git a/modules/getcwd-tests b/modules/getcwd-tests index 2187acc75f..34cc5acf6a 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 14a526f65e..33810775dd 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