Fixed inclusion of <sys/param.h> for Solaris/OpenIndiana

The truncation of oversized file names on Solaris/OpenIndiana requires
the definition of the maximum size from <sys/param.h> instead of
<param.h>
This commit is contained in:
Jean-Pierre André 2014-04-23 09:43:43 +02:00
parent 9e7184e2a6
commit 556bb9fada
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@
#if defined(__APPLE__) || defined(__DARWIN__)
#include <sys/dirent.h>
#elif defined(__sun) && defined (__SVR4)
#include <param.h>
#include <sys/param.h>
#endif /* defined(__APPLE__) || defined(__DARWIN__), ... */
#include "compat.h"

View File

@ -79,7 +79,7 @@
#if defined(__APPLE__) || defined(__DARWIN__)
#include <sys/dirent.h>
#elif defined(__sun) && defined (__SVR4)
#include <param.h>
#include <sys/param.h>
#endif /* defined(__APPLE__) || defined(__DARWIN__), ... */
#include "compat.h"