diff options
-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]; |