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