FS: include sys/syslimits.h on OS X
This fixes an issue where PATH_MAX isn't defined on some versions of OS X.
This commit is contained in:
committed by
Paul Beckingham
parent
641d232dea
commit
be35dde6f0
@@ -45,6 +45,10 @@
|
|||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined __APPLE__
|
||||||
|
#include <sys/syslimits.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
// Fixes build with musl libc.
|
// Fixes build with musl libc.
|
||||||
#ifndef GLOB_TILDE
|
#ifndef GLOB_TILDE
|
||||||
#define GLOB_TILDE 0
|
#define GLOB_TILDE 0
|
||||||
|
|||||||
Reference in New Issue
Block a user