diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-12 18:57:07 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-12 18:57:07 +0200 |
commit | 645bdf95a4e01e3ae567d2665436241853d0c2a9 (patch) | |
tree | 8ff7e52a70b94c60d137ae9a10383c93ff391fe3 /src/s_lredir.c | |
parent | Update (diff) | |
download | 42-minishell-645bdf95a4e01e3ae567d2665436241853d0c2a9.tar.gz 42-minishell-645bdf95a4e01e3ae567d2665436241853d0c2a9.tar.bz2 42-minishell-645bdf95a4e01e3ae567d2665436241853d0c2a9.tar.xz 42-minishell-645bdf95a4e01e3ae567d2665436241853d0c2a9.tar.zst 42-minishell-645bdf95a4e01e3ae567d2665436241853d0c2a9.zip |
Limits update
Diffstat (limited to '')
-rw-r--r-- | src/s_lredir.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/s_lredir.c b/src/s_lredir.c index cee0691..14ca0ae 100644 --- a/src/s_lredir.c +++ b/src/s_lredir.c @@ -13,7 +13,11 @@ #include <libft.h> #include <stdint.h> #include <stdlib.h> -#include <limits.h> +#ifdef __linux__ +# include <linux/limits.h> +#else +# include <limits.h> +#endif #include "s_struct.h" |