From 9e7d931a08a382a7484062a5c311a998cf81c4ab Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 15 Mar 2010 09:44:34 -0400 Subject: [PATCH] Fix for the Hurd, from the debian project. --- platform/unix.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/platform/unix.c b/platform/unix.c index 4319db6..67eba47 100644 --- a/platform/unix.c +++ b/platform/unix.c @@ -23,7 +23,6 @@ #include #include #include -#include #if (!defined PHYSFS_NO_THREAD_SUPPORT) #include @@ -34,6 +33,7 @@ # undef PHYSFS_HAVE_MNTENT_H /* don't do both... */ # endif # include +# include #endif #ifdef PHYSFS_HAVE_MNTENT_H @@ -42,6 +42,9 @@ #include "physfs_internal.h" +#ifndef MAXPATHLEN +#define MAXPATHLEN 1024 +#endif int __PHYSFS_platformInit(void) {