summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/s_com.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/s_com.c b/src/s_com.c
index f8cbbbf..3a565e6 100644
--- a/src/s_com.c
+++ b/src/s_com.c
@@ -12,7 +12,11 @@
#include <libft.h>
#include <stdlib.h>
-#include <limits.h>
+#ifdef __linux__
+# include <linux/limits.h>
+#else
+# include <limits.h>
+#endif
#include "d_define.h"
#include "f_fail.h"