summaryrefslogtreecommitdiffstats
path: root/src/s_struct.h
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/s_struct.h
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 '')
-rw-r--r--src/s_struct.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/s_struct.h b/src/s_struct.h
index c4ffffe..58aa155 100644
--- a/src/s_struct.h
+++ b/src/s_struct.h
@@ -15,7 +15,11 @@
# include <stdint.h>
# include <stddef.h>
-# include <limits.h>
+# ifdef linux
+# include <linux/limits.h>
+# else
+# include <limits.h>
+# endif
# include "d_define.h"