summaryrefslogtreecommitdiffstats
path: root/src/e_unshebanged.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-11 20:23:45 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-11 20:23:45 +0200
commit54386e55c855a0b7063f9c9672baa13a12a1514e (patch)
tree9a7b543e68519260997ab47cab74e0452d3bd649 /src/e_unshebanged.c
parentTrying that (diff)
download42-minishell-54386e55c855a0b7063f9c9672baa13a12a1514e.tar.gz
42-minishell-54386e55c855a0b7063f9c9672baa13a12a1514e.tar.bz2
42-minishell-54386e55c855a0b7063f9c9672baa13a12a1514e.tar.xz
42-minishell-54386e55c855a0b7063f9c9672baa13a12a1514e.tar.zst
42-minishell-54386e55c855a0b7063f9c9672baa13a12a1514e.zip
Some linux stuff
Diffstat (limited to 'src/e_unshebanged.c')
-rw-r--r--src/e_unshebanged.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/e_unshebanged.c b/src/e_unshebanged.c
index 3fd8fac..f88e19c 100644
--- a/src/e_unshebanged.c
+++ b/src/e_unshebanged.c
@@ -13,7 +13,11 @@
#include <libft.h>
#include <stdlib.h>
#include <unistd.h>
-#include <limits.h>
+#ifdef linux
+# include <linux/limits.h>
+#else
+# include <limits.h>
+#endif
#include <errno.h>
#include "f_fail.h"