diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/libft.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/libft.h b/include/libft.h index a7f86af..c2215ed 100644 --- a/include/libft.h +++ b/include/libft.h @@ -18,11 +18,16 @@ # include <stdlib.h> # include <stddef.h> # include <limits.h> + # include <errno.h> + + # include "get_next_line.h" -# define TRUE 1 -# define FALSE 0 +# ifdef __linux__ +# include <stdio.h> +# define OPEN_MAX FOPEN_MAX +# endif # define MIN(x, y) ((x) < (y) ? (x) : (y)) # define MAX(x, y) ((x) > (y) ? (x) : (y)) @@ -157,5 +162,4 @@ char *ft_itoa(int n); int ft_strict_atoi(const char *s); long ft_strtol(const char *s, char **endptr, int base); - #endif |
