From: Kevin Day Date: Tue, 11 May 2021 23:07:47 +0000 (-0500) Subject: Update: Remove usage of . X-Git-Tag: 0.5.4~36 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=fefde05aa2b686e437a580632486ff1962b08cfe;p=fll Update: Remove usage of . The header file is only used to get PATH_MAX. Instead of including the entire header, just provided a fallback PATH_MAX. --- diff --git a/level_0/f_path/c/path.h b/level_0/f_path/c/path.h index 129c827..6dad33f 100644 --- a/level_0/f_path/c/path.h +++ b/level_0/f_path/c/path.h @@ -12,10 +12,14 @@ // libc includes #include -#include // defines PATH_MAX #include #include +// If limits.h does not provide PATH_MAX, define it instead of relying on . +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif /* PATH_MAX */ + // fll-0 includes #include #include