diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pathmax.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pathmax.h b/lib/pathmax.h index cfa14dd59..b3e465607 100644 --- a/lib/pathmax.h +++ b/lib/pathmax.h @@ -38,7 +38,7 @@ #endif /* Don't include sys/param.h if it already has been. */ -#if !defined(PATH_MAX) && !defined(MAXPATHLEN) && !defined(__MSDOS__) +#if defined(HAVE_SYS_PATH_MAX_H) && !defined(PATH_MAX) && !defined(MAXPATHLEN) #include <sys/param.h> #endif |