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