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