From c742eed87d83fb8c394835ea908303418c9b1d18 Mon Sep 17 00:00:00 2001 From: rocky Date: Sun, 19 Feb 2012 20:06:47 -0500 Subject: [PATCH] Debian POSIXness fix from N. Boullis --- test/driver/realpath.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/driver/realpath.c b/test/driver/realpath.c index 866f6edc..a5a31725 100644 --- a/test/driver/realpath.c +++ b/test/driver/realpath.c @@ -56,6 +56,10 @@ #define MY_DIR_SEPARATOR '/' +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + static char * get_temporary_name(const char *dirname, const char *errmsg) {