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