From 8d1cff2bdfe7dbe5ef86b8692c601d8de0ac28ed Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 15 Mar 2010 09:46:33 -0400 Subject: [PATCH] Fix for the Hurd, from the debian project. --- src/platform_unix.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/platform_unix.c b/src/platform_unix.c index 24846ab8..7d0311dc 100644 --- a/src/platform_unix.c +++ b/src/platform_unix.c @@ -46,6 +46,10 @@ #include "physfs_internal.h" +/* !!! FIXME: we should probably remove MAXPATHLEN entirely, if we can. */ +#ifndef MAXPATHLEN +#define MAXPATHLEN 1024 +#endif int __PHYSFS_platformInit(void) {