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