X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fchdir-long.h;h=51db5a8041e1a7997fe9da158f7a21145aa1dcef;hb=ab624c1a8f744419fdb653b77250153a3563203f;hp=90c90348634698e25ee9d33af8bd928a8dfb6ed4;hpb=3030c5b5e0a5199e16b05927da72c43c42f211c3;p=gnulib.git diff --git a/lib/chdir-long.h b/lib/chdir-long.h index 90c903486..51db5a804 100644 --- a/lib/chdir-long.h +++ b/lib/chdir-long.h @@ -1,5 +1,5 @@ /* provide a chdir function that tries not to fail due to ENAMETOOLONG - Copyright (C) 2004-2005, 2009 Free Software Foundation, Inc. + Copyright (C) 2004-2005, 2009-2012 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,11 +19,7 @@ #include #include -#ifndef PATH_MAX -# ifdef MAXPATHLEN -# define PATH_MAX MAXPATHLEN -# endif -#endif +#include "pathmax.h" /* On systems without PATH_MAX, presume that chdir accepts arbitrarily long directory names. */