summaryrefslogtreecommitdiffstats
path: root/src/s_lredir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/s_lredir.c')
-rw-r--r--src/s_lredir.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/s_lredir.c b/src/s_lredir.c
index cee0691..14ca0ae 100644
--- a/src/s_lredir.c
+++ b/src/s_lredir.c
@@ -13,7 +13,11 @@
#include <libft.h>
#include <stdint.h>
#include <stdlib.h>
-#include <limits.h>
+#ifdef __linux__
+# include <linux/limits.h>
+#else
+# include <limits.h>
+#endif
#include "s_struct.h"