summaryrefslogtreecommitdiffstats
path: root/src/s_init_next.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/s_init_next.c')
-rw-r--r--src/s_init_next.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/s_init_next.c b/src/s_init_next.c
index e8e0006..8731957 100644
--- a/src/s_init_next.c
+++ b/src/s_init_next.c
@@ -15,7 +15,11 @@
#include <unistd.h>
#include <dirent.h>
#include <errno.h>
-#include <limits.h>
+#ifdef __linux__
+# include <linux/limits.h>
+#else
+# include <limits.h>
+#endif
#include "b_export_next.h"
#include "f_fail.h"