summaryrefslogtreecommitdiffstats
path: root/src/m_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/m_loop.c')
-rw-r--r--src/m_loop.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/m_loop.c b/src/m_loop.c
index ac3ca12..b111577 100644
--- a/src/m_loop.c
+++ b/src/m_loop.c
@@ -15,7 +15,11 @@
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
-#include <limits.h>
+#ifdef __linux__
+# include <linux/limits.h>
+#else
+# include <limits.h>
+#endif
#include "d_define.h"
#include "e_line.h"