diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-12 18:54:28 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-12 18:54:28 +0200 |
commit | 125e4bd7ad288c343c18a9b8b3c8df043ca3fa9b (patch) | |
tree | c762fc61fc80c448ee691c766588d0717b222945 /src | |
parent | cool (diff) | |
download | 42-minishell-125e4bd7ad288c343c18a9b8b3c8df043ca3fa9b.tar.gz 42-minishell-125e4bd7ad288c343c18a9b8b3c8df043ca3fa9b.tar.bz2 42-minishell-125e4bd7ad288c343c18a9b8b3c8df043ca3fa9b.tar.xz 42-minishell-125e4bd7ad288c343c18a9b8b3c8df043ca3fa9b.tar.zst 42-minishell-125e4bd7ad288c343c18a9b8b3c8df043ca3fa9b.zip |
Update
Diffstat (limited to 'src')
-rw-r--r-- | src/p_split.c | 1 | ||||
-rw-r--r-- | src/p_split.h | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/p_split.c b/src/p_split.c index 57ba6d6..a8f4b5d 100644 --- a/src/p_split.c +++ b/src/p_split.c @@ -12,7 +12,6 @@ #include <libft.h> #include <stdlib.h> -#include <limits.h> #include "f_fail.h" #include "d_define.h" diff --git a/src/p_split.h b/src/p_split.h index 70d368f..a7de10b 100644 --- a/src/p_split.h +++ b/src/p_split.h @@ -13,6 +13,14 @@ #ifndef FT_P_SPLIT_H # define FT_P_SPLIT_H +#include <stddef.h> +#include <stdint.h> +# ifdef __linux__ +# include <linux/limits.h> +# else +# include <limits.h> +# endif + typedef struct s_split_block { size_t pos[ARG_MAX / 2]; |