summaryrefslogtreecommitdiffstats
path: root/src/b_type.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/b_type.c')
-rw-r--r--src/b_type.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/b_type.c b/src/b_type.c
index 6a75f13..622ca52 100644
--- a/src/b_type.c
+++ b/src/b_type.c
@@ -15,7 +15,11 @@
#include <dirent.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 "f_fail.h"