aboutsummaryrefslogtreecommitdiff
path: root/libft.h
diff options
context:
space:
mode:
Diffstat (limited to 'libft.h')
-rw-r--r--libft.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libft.h b/libft.h
index 99c71db..dc8cf0f 100644
--- a/libft.h
+++ b/libft.h
@@ -14,12 +14,17 @@
# define LIBFT_H
# include <errno.h>
+# include <unistd.h>
# include <string.h>
# include <stdlib.h>
# define TRUE 1
# define FALSE 0
+# ifndef OPEN_MAX
+# define OPEN_MAX 1024
+# endif
+
typedef unsigned char t_byte;
typedef int t_bool;