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