From be35dde6f03c93f40e5410f0736b2659d52f3df2 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Wed, 30 Dec 2015 22:36:17 -0400 Subject: [PATCH] FS: include sys/syslimits.h on OS X This fixes an issue where PATH_MAX isn't defined on some versions of OS X. --- src/FS.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/FS.cpp b/src/FS.cpp index 14bca6274..e0bb57ad2 100644 --- a/src/FS.cpp +++ b/src/FS.cpp @@ -45,6 +45,10 @@ #include #endif +#if defined __APPLE__ +#include +#endif + // Fixes build with musl libc. #ifndef GLOB_TILDE #define GLOB_TILDE 0