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/m_loop.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 'src/m_loop.c')
-rw-r--r-- | src/m_loop.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/m_loop.c b/src/m_loop.c index ac3ca12..b111577 100644 --- a/src/m_loop.c +++ b/src/m_loop.c @@ -15,7 +15,11 @@ #include <stdlib.h> #include <fcntl.h> #include <unistd.h> -#include <limits.h> +#ifdef __linux__ +# include <linux/limits.h> +#else +# include <limits.h> +#endif #include "d_define.h" #include "e_line.h" |