summaryrefslogtreecommitdiffstats
path: root/src/m_mshrc.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/m_mshrc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/m_mshrc.c b/src/m_mshrc.c
index 41c7bef..424e17b 100644
--- a/src/m_mshrc.c
+++ b/src/m_mshrc.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 "s_struct.h"