stat: use pathmax.h only if needed
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 19 Sep 2011 04:46:34 +0000 (21:46 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 19 Sep 2011 04:47:13 +0000 (21:47 -0700)
commit21c918ecedb2e44a857c1ff2fe2e4964a2f67312
tree995885606b045dc246dce1856cc3145775168c72
parentc40f73ec5ba7e263edcf30ac6889cb180eb0f1c8
stat: use pathmax.h only if needed

* lib/stat.c: Include pathmax.h only if REPLACE_FUNC_STAT_DIR.
This is better for Emacs, which does not have a mingw port and
therefore can avoid the pathmax module.
ChangeLog
lib/stat.c