mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
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:
parent
641d232dea
commit
be35dde6f0
1 changed files with 4 additions and 0 deletions
|
@ -45,6 +45,10 @@
|
|||
#include <limits.h>
|
||||
#endif
|
||||
|
||||
#if defined __APPLE__
|
||||
#include <sys/syslimits.h>
|
||||
#endif
|
||||
|
||||
// Fixes build with musl libc.
|
||||
#ifndef GLOB_TILDE
|
||||
#define GLOB_TILDE 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue