summaryrefslogtreecommitdiffstats
path: root/src/p_lblock_next.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-12 18:57:07 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-12 18:57:07 +0200
commit645bdf95a4e01e3ae567d2665436241853d0c2a9 (patch)
tree8ff7e52a70b94c60d137ae9a10383c93ff391fe3 /src/p_lblock_next.c
parentUpdate (diff)
download42-minishell-645bdf95a4e01e3ae567d2665436241853d0c2a9.tar.gz
42-minishell-645bdf95a4e01e3ae567d2665436241853d0c2a9.tar.bz2
42-minishell-645bdf95a4e01e3ae567d2665436241853d0c2a9.tar.xz
42-minishell-645bdf95a4e01e3ae567d2665436241853d0c2a9.tar.zst
42-minishell-645bdf95a4e01e3ae567d2665436241853d0c2a9.zip
Limits update
Diffstat (limited to 'src/p_lblock_next.c')
-rw-r--r--src/p_lblock_next.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/p_lblock_next.c b/src/p_lblock_next.c
index bfdca3d..9708a09 100644
--- a/src/p_lblock_next.c
+++ b/src/p_lblock_next.c
@@ -13,7 +13,11 @@
#include <libft.h>
#include <stdlib.h>
#include <stdint.h>
-#include <limits.h>
+#ifdef __linux__
+# include <linux/limits.h>
+#else
+# include <limits.h>
+#endif
#include "d_define.h"
#include "s_destroy.h"