diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-12 18:50:11 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-12 18:50:11 +0200 |
commit | d457d147dce9a995df2a03ecb49b51f61cef4fb0 (patch) | |
tree | b06b41c843177917a48071ba3585f45fa003f88a /src/m_prompt.c | |
parent | Compat fix (diff) | |
download | 42-minishell-d457d147dce9a995df2a03ecb49b51f61cef4fb0.tar.gz 42-minishell-d457d147dce9a995df2a03ecb49b51f61cef4fb0.tar.bz2 42-minishell-d457d147dce9a995df2a03ecb49b51f61cef4fb0.tar.xz 42-minishell-d457d147dce9a995df2a03ecb49b51f61cef4fb0.tar.zst 42-minishell-d457d147dce9a995df2a03ecb49b51f61cef4fb0.zip |
Update
Diffstat (limited to 'src/m_prompt.c')
-rw-r--r-- | src/m_prompt.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/m_prompt.c b/src/m_prompt.c index e0b3ed1..e9589a5 100644 --- a/src/m_prompt.c +++ b/src/m_prompt.c @@ -14,7 +14,11 @@ #include <stddef.h> #include <stdint.h> #include <unistd.h> -#include <limits.h> +#ifdef __linux__ +# include <linux/limits.h> +#else +# include <limits.h> +#endif #include "d_define.h" #include "m_prompt.h" |