summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-11 20:19:22 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-11 20:19:22 +0200
commitde234b4819acdac199a26d37dedb4dc69b610f6d (patch)
tree426e3fc207f8517b54a21680ab444920108a12c5 /src
parentMakefile update (diff)
download42-minishell-de234b4819acdac199a26d37dedb4dc69b610f6d.tar.gz
42-minishell-de234b4819acdac199a26d37dedb4dc69b610f6d.tar.bz2
42-minishell-de234b4819acdac199a26d37dedb4dc69b610f6d.tar.xz
42-minishell-de234b4819acdac199a26d37dedb4dc69b610f6d.tar.zst
42-minishell-de234b4819acdac199a26d37dedb4dc69b610f6d.zip
Trying that
Diffstat (limited to '')
-rw-r--r--src/b_alias.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/b_alias.c b/src/b_alias.c
index c97a2c9..aab0458 100644
--- a/src/b_alias.c
+++ b/src/b_alias.c
@@ -14,7 +14,11 @@
#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>
-#include <limits.h>
+#ifndef linux
+# include <linux/limits.h>
+#else
+# include <limits.h>
+#endif
#include "b_alias_print.h"
#include "d_define.h"