diff options
Diffstat (limited to 'src/c_unixize.h')
-rw-r--r-- | src/c_unixize.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/c_unixize.h b/src/c_unixize.h index edf9cde..a43f887 100644 --- a/src/c_unixize.h +++ b/src/c_unixize.h @@ -46,11 +46,7 @@ #ifndef __C_UNIXIZE_H__ #define __C_UNIXIZE_H__ -#ifdef __linux__ -#include <linux/limits.h> -#else -#include <limits.h> -#endif +#include <sys/param.h> typedef enum bool_e { FALSE, @@ -63,7 +59,7 @@ struct opts_s { bool_t pretend; bool_t recursive; bool_t verbose; - char dir[PATH_MAX]; + char dir[MAXPATHLEN]; }; struct lfiles_s { |