summaryrefslogtreecommitdiffstats
path: root/src/s_com.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-12 18:51:43 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-12 18:51:43 +0200
commitb5e7ddd4de7315c7af020433b1922683a1b75a9b (patch)
tree77e5e8dd9f790318ff7e45200ce8b6861d02f1f2 /src/s_com.c
parentUpdate (diff)
download42-minishell-b5e7ddd4de7315c7af020433b1922683a1b75a9b.tar.gz
42-minishell-b5e7ddd4de7315c7af020433b1922683a1b75a9b.tar.bz2
42-minishell-b5e7ddd4de7315c7af020433b1922683a1b75a9b.tar.xz
42-minishell-b5e7ddd4de7315c7af020433b1922683a1b75a9b.tar.zst
42-minishell-b5e7ddd4de7315c7af020433b1922683a1b75a9b.zip
Update
Diffstat (limited to '')
-rw-r--r--src/s_com.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/s_com.c b/src/s_com.c
index f8cbbbf..3a565e6 100644
--- a/src/s_com.c
+++ b/src/s_com.c
@@ -12,7 +12,11 @@
#include <libft.h>
#include <stdlib.h>
-#include <limits.h>
+#ifdef __linux__
+# include <linux/limits.h>
+#else
+# include <limits.h>
+#endif
#include "d_define.h"
#include "f_fail.h"